Add Rails 4.0 tests to Travis CI

Updates .travis.yml to test against Rails 4.0 on MRI 1.9.3 and 2.0.0.