Bump package versions in Gemfile to work with rails 4 and update Gemfile.lock.
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 scopes to use procs in order for them to work properly with rails 4.
Do not use multiline characters in regex.
Cleanup routes to use get and post verbs instead of match.
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/
Use render instead of respond_with since respond_with has started causing failing tests.
Updated respond_with resource for registrations controller to respond properly, as respond_with behavior has changed since rails 3.
Fixed bundle importer to embed many cda identifiers. (Was causing an error with the bundle importer)
Calling a file simplecov and then calling require 'simplecov' in it causes the file to require itself instead of the simplecov gem.