Ruby 2.1 fixes

Also adds travis configuration and badge