Bug 913783 - Enable language-associated keyboard layouts.

Please help look at f058bd15dff4185f53d2db681a1271f19e90a299 for the FTU-specific changes.
The other 2 commits are for Bug 913784 and are the base of this changeset.