Fix ActiveRecord::Base#encode_with for Rails 3.0
Run the tests against all versions of Rails we claim to support