Lock clearance to version ~> 1.1.0
Upgrade to rails 4.0.1

* Use https in tests
* Add attr_accessible to models
* Move V1MarshaledDepedencies to match model name
* Move method outside block
* Rename back route
* Downgrade rr
  RR is looking for `Minitest::Version` which does not exist in 4.7.5
* Reset webmock before test
Remove update_all deprecation warnings
Remove first with conditions deprecation warning
Remove deprecation warnings

Currently, Active Record recognizes the table in the string, and knows
to JOIN the comments table to the query, rather than loading comments in
a separate query. However, doing this without writing a full-blown SQL
parser is inherently flawed. Since we don't want to write an SQL parser,
we are removing this functionality. From now on, you must explicitly
tell Active Record when you are referencing a table from a string:

    Post.includes(:comments).where("comments.title =
'foo'").references(:comments)
Remove deprecated options from relationships
Remove pending depreaction from tests
Remove find_or_initialize_by_* deprecation warning
Remove whiny_nils deprecation warings
Remove clearance params[:user] deprecation warings
Prepare for SECRET_KEY_BASE setting

Set secret_key_base in tests to get rid of the deprecation. It will not
be set in other environments unless it is opted-into by setting the
environment variable. See:
http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#action-pack
Add config.eager_load to remove warnings
Added unf gem to remove warning from aws
Update to rails 4.0.4

Closes https://github.com/rubygems/rubygems.org/pull/663.
require test gems. without modules not defined.

Closes https://github.com/rubygems/rubygems.org/pull/662.
remove protected_attributes, and bring in strong_param behavior

Closes https://github.com/rubygems/rubygems.org/pull/664.