Added Travis-CI.
Fix JRuby build.
Merge pull request #1 from dblock/travis-ci

Added Travis-CI, fixed JRuby build