Adds jruby-head and ruby-head to TravisCI.

Details:
* Have travis-ci run the tests against the current
  ruby and jruby head.