Fixes to SublimeRepl to get it working with jruby