Improve cmap/cabbrev emulation (#2)

TODO: still does not handle cmaps with the common prefix