remove 1.8 and ruby-head from travis
use https://rubygems.org instead of :rubygems
Merge pull request #378 from hsbt/tweak-travis

Tweak travis