Add multi-character mapping support, prerequisite scaffolding for "quick makrs" feature.

Test plan:

* Added various mappings like "abcd", "cdef", "dekg", verified that they
  execute appropriately when something like "bcdekg" is typed.
* Console logging.