Rails 4 compatibility, remove controller actions, in-memory test db, fix gemfile, Travis config

And stuff.
:+1: