Add preauth, void support; add Token API support

* Added preauth and void to Direct payment method
* Added Token payment method
* Refactored most of the code

Fix translation files

Fix translation in the en_US file

Initial code cleanup.

A lot of this is based on the PHP CodeSniffer rules

Use checkout helper methods for cart URL generation

More codesniffer fixes

Use constants for gateway URLs

Update license headers

Add pre-auth support to eWay Direct payment method.

Pre-auth support has been added, as well as void support (cancelling a
transaction that hasn't been captured yet).

This required quite a bit of refactoring, to ensure as little code was
duplicated as possible.

Small refactor of the Shared payment method model.

Most of the removed code was moved to the data helper.

Improve system.xml

All settings are now configurable at the store scope level.
I've also fixed all of the sort order values.

Moved Direct templates and blocks into a cc namespace.

Abstracted common code for the failure blocks and templates.

Refactored the redirect blocks for Shared and Secure

Refactored common code in the Form block for Shared and Secure

Includes minor code style fix

Force secure URLs to always be generated with HTTPS

This is on top of shared URLs always being generated with HTTPS.

Move frontend layout file into fontis directory

This follows the now long-standing convention for all of our extensions.

Move error message constant into the helper

Add interface for sales objects.

There are a few places in the code which will take an instance of
Mage_Sales_Model_Order OR an instance of Mage_Sales_Model_Quote, because
they share a lot of the same methods. Unfortunately, there isn't an
interface in Magento for this, so I've implemented one here.

Add token payment support.

Modman file fix for layout file change

Critical bugfix.

This is what happens when you have language constructs masquerading as
functions.

Rename variable for consistency

Pass $paymentData object to processPayment() method.

This removes yet another instance of relying on what amounts to global
variables.

Don't automatically process responses from token payment soap calls.

This is because they may return SoapFault instances instead, which isn't
helpful when you have your own logic to determine if a request was
successful or not.

Add test login button for token payment method

Small optimisation in login test template.

Better classnames for login test results

Update license headers, minor code improvements

Fix line encoding on LICENSE.txt

Fix issues with composer.json for packaging