Merge changes from topic "KeyCharacterMapRefactor"

* changes:
  Move KeyCharacterMap from RefBase to shared_ptr.
  Move KeyLayoutMap from RefBase to shared_ptr.