Ruby 1.9 and Travis CI support

I've modified the specs a bit to support all of:
* ruby 1.8
* ruby 1.9.3
* jruby in 1.8 and 1.9 mode

I have not added the Travis CI logo to the README, but that would be an obvious next step.

Is this usable in the current form?