Proper support for jruby

I've ignored Gemfile.lock and created two separate gem specs, one for MRI and one for JRuby. Now the repo can be used from a Gemfile and work correctly on both jruby and mri.