Created rake task to export CAT3 by provider for selected measures and year. 

It prints it to stdout.
Fixing issue with Provider ID being given as a BSON::ObjectId

The database stores this ID as a plain String
Also refactored the provider query
Merge pull request #168 from pophealth/provider_rake

Created rake task to export CAT3 by provider for selected measures and year.
added initial api endpoint for cat1 generation
added relevant fixtures and tests for reports controller
Merge pull request #169 from pophealth/cat1-api-endpoint

Cat1 api endpoint
cleaning out a lot of deprecated code, updating some tests
removed more deprecated and old code
removed all factories, replaced with fixtures. refactored all tests to use fixtures instead of factories.
Merge pull request #170 from pophealth/test-suite-refactor

Test suite refactor
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.