move to Ruby 2 in .rvmrc
gemify library
add travis config and README badges for travis and codeclimate