Standardizing error codes

Adds standardized error codes for the gateway to map to, with an example for Stripe.

@louiskearns @girasquid @mcgain @edward 
I would prefer to use lowercase error codes here unless anyone has any objections.