add .travis.yml for TravisCI and include rails version in Gemfile.