Added JRuby compatibility

* Added skipping MRI/YARV gems on JRuby in .gemspec
* Added JRuby specific gems into Gemfile
* Added skipping Curb tests on JRuby
* Added `jruby-19mode` into Travis-CI matrix

Closes #555
Minor cleanup of JRuby compatibility

* Formatting, whitespace errors
* Gem dependency configurations