Updated Travis configuration

Three commits to:
* Use the new containerized infrastructure
* Update ruby versions
* Fix JRuby version problems
(The CI fails for the first two commits were due to the JRuby issues fixed in the last one)