Direct keyman support

Re-adds support for direct Keyman keyboard support which was removed with the recent keyboard handling changes.
Also added backwards compatibility for keyboard IDs from older versions of Palaso and Paratext.
This long comment in one line is very hard to read on github (or unless you have an editor that automatically wraps the lines).