Make the tests ruby 1.8.7 compatible and remove Gemfile.lock from repo for travis