Do not use setlang to change user language
Requests using GET should only retrieve data and should have no other effect.
- Use API with POST to change the user interface language in user settings.
- When allowed by wgULSAnonCanChangeLanguage set cookie for anonymous user or when API fails.
This change uses mediawiki.cookie which requires MediaWiki 1.24+.