Helpers and models for using Braintree in a Rails application