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 looks like it's indented with spaces instead of tabs.