Added Travis-CI, fixed JRuby build

You need to enable Travis-CI for the project on https://travis-ci.org/profile first.

Successful build in https://travis-ci.org/dblock/hashie_rails/builds/26513768.