Fixes for 4.0.x compatibility
Missed one 4.0 fix
Typos in constant names
Merge pull request #11 from gocardless/v0.5-rails-4.0-fixes

V0.5 rails 4.0 fixes