Bump package versions to work with rails 4.
Remove active_resource/railtie since it breaks rails 4.
Whiny nils is depreciated, removing it.
Add eager loading setting to project environments for rails 4.
Require protected_attributes in order to add support for attr_protected, and include mass assignment security.
Update ordered_by_username scope to not cause an error.
Do not use multiline characters in regex.
Cleanup routes to use get and post verbs instead of match.
Update more scopes to use procs.
Wrap another scope in a proc.
Fix email regex validation.
In rails 4, some validation was moved from the model to the controller. See https://github.com/plataformatec/devise#strong-parameters for more information.
Removed whiny nils from test.rb.
Removed browser performance test which no longer exists in rails 4.
BSON is no longer a part of Moped, updating accordingly.
The by_* does not work any longer, using where instead.
Must call .from_string method on BSON::ObjectId when passing an ID in.
Override BSON::ObjectId.as_json to work the same way as it previously did.

See: http://artsy.github.io/blog/2013/11/07/upgrading-to-mongoid4/
Update scopes to use procs.
Use render instead of respond_with since respond_with has started causing failing tests.