Update so Travis CI builds properly.

We only need coveralls if the ruby version is 1.9 or later (this was breaking
the Travis CI build on 1.8.7, and won't make a difference to users). Also
added a 2.1 test, which is now out.