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
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
Localisation updates from https://translatewiki.net.

Change-Id: I2057d3c8dea612065edae028503ad3dc5a544bdd
WorldPay Deposit Request

Change-Id: Ia89e783f6f9fbbc239f84cb5d7efcfead27beca6
Merge "WorldPay Deposit Request"
Moving the post-transaction addData to a place that makes a little
more sense.

Change-Id: I291441df704668fac4608dd339517dadbdb9fcd4
WP result codes

Change-Id: I3c373562b9ec4e28b37106efdd8c938273e6996a
Merge "WP result codes"
Description for WP result codes

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

Change-Id: Ic9fb3176cb6bff74ef7b1fbb2e99b2987e3c60bf
Merge "Description for WP result codes"
Merge "Moving the post-transaction addData to a place that makes a little more sense."
Localisation updates from https://translatewiki.net.

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

Change-Id: I168fd51e3393503b504fb613df82daa3f66ff438
Merge "Change email address inputs in GC forms to use type="email""
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
Removal of all test data from the DonationData object.
Finally.

Change-Id: I119e245cc583ddc8a2d74921f4a343ee8fc12c4d
curl_getinfo actually defaults $opt to 0, not null.

Change-Id: I4c6a3e91a1702f684099103a9104b07bfde9fbd5