Unbreak tests in Ruby 2.1.x.
Add a Travis CI config file to enable automated testing.
Merge pull request #7 from rgrove/unbreak-tests

Make tests run in Ruby 2.1.x and add Travis CI support.