Bug 973447 - [settings] refactor Language panel with AMD pattern (TEST ONLY)

**This is test-only branch, will be removed later.**