Remove use of deprecated serialized_attributes method

Fixes https://github.com/gocardless/statesman/issues/90

Puts us in a slightly painful transition period - `::ActiveRecord::Type` isn't defined in Rails 4.1, so we can't use that in all cases.
Thoughts on explicitly checking the version vs checking if `ActiveRecord::Type` is `defined?`?