Standardizing error codes

Adds standardized error codes for the gateway to map to, with an example for Stripe.

@louiskearns @girasquid @mcgain @edward 
This seems like a weird inclusion in this PR.