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.
Indentation