Feature/upgrade to 4.1

Freshly rebased against master,

This PR upgrades the API to rails version 4.1.1
Basically, it's to get at the new secrets.yml stuff, as well as to keep things fresh and minty. I used the upgrade guide here:
http://guides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-4-0-to-rails-4-1