Enable Ruby 2 and Rails 4 in the .travis.yml file.  Make Rails version configurable in Gemfile.  Address minor Rails 4 incompatibilities in routes, tests.