Switch to json based I18n system as used by MW 1.23+

* Switch to json based I18n system as used by MW 1.23+
* Update entry point security
* Apply small formatting tweak