Migrate to JSON i18n

Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: Ib2e017848eaf6a9d64524f6ad4ea76033212fdbc
More worldpay; token & auth queries

We can now successfully complete a token data query

and! we can send out an authorization request

Change-Id: Ic26444c626ae086accb9a6d7bddd3101401c3796
WIP: Added the (renamed) antifraud hook to the WorldPay workflow.

Change-Id: I054037bfebf90385dec0ae80f49bf32e53a255c6

Conflicts:

	tests/TestConfiguration.php
	tests/includes/test_gateway/test.adapter.php
Migrate amazon_gateway.i18n.php to JSON i18n

This was missed in 0e1f29e675393e9dcf because it is not actually used
anywhere in the extension. I'd expected it to be used in
DonationInterface.php in a block of code similar to this at line 1038:

 if ( $optionalParts['Adyen'] === true )

Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I45ece1dbda5b4cdfcb4a833e13da983fd63473c3
Change email address inputs in GC forms to use type="email"

Use the HTML5 attribute type="email" on email address input elements.
Most browsers will recognise this, and mobile browsers will use a soft keyboard
more suited to inputting an email address.
Browsers which don't recognise it will seamlessly fall back to type="text"

See http://diveintohtml5.info/forms.html#type-email for more info

Also change CSS so inputs with type="email" are styled the same as type="text"

Change-Id: I2c6856bdfcc5fe0b0413b67fc05d262ed8200aba
Added the cvv and avs antifraud tests to WorldPay.
Advanced our ability to unit test fraud filters (but it clearly
still needs work).

Change-Id: I2a5740562de8ac21c020a22e8b27a82594cae003

Conflicts:

	tests/Adapter/Adyen/AdyenTestCase.php
	tests/Adapter/WorldPay/WorldPayTestCase.php
	tests/AllTests.php
	tests/TestConfiguration.php
	tests/includes/test_gateway/test.adapter.php
Localisation updates from https://translatewiki.net.

Change-Id: I2057d3c8dea612065edae028503ad3dc5a544bdd
WorldPay Deposit Request

Change-Id: Ia89e783f6f9fbbc239f84cb5d7efcfead27beca6
Moving the post-transaction addData to a place that makes a little
more sense.

Change-Id: I291441df704668fac4608dd339517dadbdb9fcd4
WP result codes

Change-Id: I3c373562b9ec4e28b37106efdd8c938273e6996a
Description for WP result codes

Not sure if this'll actually be helpful; but comments are cheap

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

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

Change-Id: I168fd51e3393503b504fb613df82daa3f66ff438
Safer/more useful/++awesome phpunit tests
* Made a wrapper for potentially dangerous curl functions
(don't have to worry about somebody running unit tests on a dev
machine with 3rd party creds anymore)
* Overrode the curl_exec wrapper such that it will return
canned responses. This means we can now test response codes
and error handling without contacting anything.
* Added an example canned response in GC.
* Modified old GC tests such that they now pass with the new style
* changed extension on canned responses in the hope that Jenkins
will stop trying to lint them.

Change-Id: Ie2464118e9465bfbb3e2f803f3afdbb6a131a34a

Conflicts:

	tests/Adapter/GlobalCollect/RealTimeBankTransferEnetsTestCase.php
	tests/Adapter/GlobalCollect/RealTimeBankTransferIdealTestCase.php
	tests/Adapter/GlobalCollect/YandexTestCase.php
	tests/includes/test_gateway/test.adapter.php
Removal of all test data from the DonationData object.
Finally.

Change-Id: I119e245cc583ddc8a2d74921f4a343ee8fc12c4d

Conflicts:

	tests/DonationDataTestCase.php
curl_getinfo actually defaults $opt to 0, not null.

Change-Id: I4c6a3e91a1702f684099103a9104b07bfde9fbd5
Ditching the $opt parameter.

It's causing see-sawing problems on different instances, and we
never use it anyway.
So, forget you.

Change-Id: Id4b2ef0e2c72d5dabf7eebb2ac9f25f87722aba9
Worldpay form validation

Right now it just spits a string out to window.alert.
Not very friendly; but getting there...

Change-Id: Ic06375e451f078fa5c58abcb96113acec64c717a
Constraint validation

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

Change-Id: I92375783caa659756c64ed0bcd70b31496b381d5