Use Travis CI to test the codebase

I added `rubygems.org` to Gemfile to make `bundle install` work. The
README now contains a Travis CI build status badge.