Fix extension functionality and backwards compatibility

This updates the CA certificate and login endpoint to match Mozilla.
Also changes some things to make the extension backwards-compatible
with version 1.19 of MediaWiki.

Finally, this fixes a few minor bugs:
* Infinite looping when authentication is unsuccessful
* Non-internationalized error messages

Bug: 55975
Change-Id: If61cf139256e411440eb5a327f32f37bd6dfb962
Localisation updates from https://translatewiki.net.

Change-Id: If1b03e03e8ddfddbb52d1c64992fe3065b0e412a
Fix ordering of scripts for Persona

The Persona login JS needs to load before the MediaWiki
hooks do, otherwise the navigator API will not be available.

Unfortunately, MediaWiki throws all non-Resource Loader script
files at the end of all scripts, so the only way to make sure
it is loaded before is to put is as a head item.

Bug: 57525
Change-Id: I86e5b2484aaae2d3001dc03c333be7d32ee078f2
Localisation updates from https://translatewiki.net.

Change-Id: I2bceccacf7f6d85017fe1548003b922fae15b355
Localisation updates from https://translatewiki.net.

Change-Id: Ie2b6d2a3719e3a077f0d28125589e371ad91569f
Localisation updates from https://translatewiki.net.

Change-Id: I4ebb27fc952f94b4777017386953f38aa67f1eb8
Merge "Fix ordering of scripts for Persona"
Localisation updates from https://translatewiki.net.

Change-Id: I02f822b938c00e2c68f3df6ecf78f74709c461bf
Localisation updates from https://translatewiki.net.

Change-Id: Ifcfefa20e3c72527efc264ddfd32d39bff68d5ad
Localisation updates from https://translatewiki.net.

Change-Id: I83028ba1083f002bb4bb3d89575a37ea431f4b50
Localisation updates from https://translatewiki.net.

Change-Id: I24fa6a9add2e4cb82ae5b012019e189ca4e6459c
Localisation updates from https://translatewiki.net.

Change-Id: I6ed341041277e3bf4e5cd149d0149dfc1738496e
Localisation updates from https://translatewiki.net.

Change-Id: Ib897b87bd807af19d18e2f66fe24c93e43c21075
Localisation updates from https://translatewiki.net.

Change-Id: I0242642d2ea6e7a71f75bffb8abc69940702ec5c
Localisation updates from https://translatewiki.net.

Change-Id: Ia098984d14acc3ef7828a3b2cf463157c77d6ea8
More 1.19 backwards compatibility fixes

Fixed dependencies for 1.19 and made sure POST HTTP method
is uppercase since it has to be in 1.19.

Also removed {{SITENAME}} magic from JavaScript messages,
since it is way more difficult making that work in 1.19.

Bug: 55975
Change-Id: Ia8c0004242cd1ed69b69b626de6ed4d8e23790a9
Merge "More 1.19 backwards compatibility fixes"
Localisation updates from https://translatewiki.net.

Change-Id: I9b3dfd518ec85bcac75513bc348aa3005ec7b52d
Localisation updates from https://translatewiki.net.

Change-Id: I333eca9af2935d029141cacb1b721ca81f7def17
Localisation updates from https://translatewiki.net.

Change-Id: I08f2f502db711543870be6657fc971fcbd227263