Work-around for String#crypt bug in JRuby.
https://github.com/jruby/jruby/issues/1035
Added ruby-head and jruby-head as test platforms on travis.