Minor refactors

* Use Integer offset in Time.new. See JRuby Issue #1517
* Remove Gemfile.lock from version control