Add a .travis.yml file.
Thin is not supported on JRuby.
Add a hack to get around changes to joining threads in ruby 2.0.
Add a travis-ci badge to the README.