Language list speed improvements

This makes lazyload unnecessary.

Moved from mediawiki/extensions/UniversalLanguageSelector in Wikimedia's Gerrit.