Merge pull request #12322 from davidflanagan/autocorrect-config

Bug 884752: configure keyboard layouts and dictionaries at build time r=janjongboom,luke-chang,aus(cherry picked from commit 38456b0b9ee903e597d2a2fd949c10fd673e1993)

Conflicts:

	Makefile
	apps/keyboard/js/keyboard.js
Merge pull request #12947 from davidflanagan/bug884752-v1.2

Merge pull request #12322 from davidflanagan/autocorrect-config 
Uplifts bug 884752 to v1.2
Revert "Merge pull request #12947 from davidflanagan/bug884752-v1.2"

This reverts commit 8cbe9e4fe267f010bfa1e6a96837b600492d020c, reversing
changes made to 22b95ba3a4df0c2e69ac19a7300cb9d43085a860.