Standardizing error codes

Adds standardized error codes for the gateway to map to, with an example for Stripe.

@louiskearns @girasquid @mcgain @edward 
Does this one need the `success` ternary?