Add Rails 4.0 Gemfile and tweak Travis