Enable travis CI support

This patch adds the `.travis.yml` configuration as described at
http://about.travis-ci.org/docs/user/languages/ruby/

This patch also trims down the Gemfile to manage the dependency list
efficiently for Travis.