Make sure git sleep works

* actually check the can_commit value
* avoid some ruby errors when reassigning constants
* Remove Gemfile.lock from repo
* take advantage of caching and docker on travis

close #35 (PR)