Remove ruby 1.8 from the supported ruby versions

* Add ruby-head to the allowed failures matrix to work around
  transient failure due to problems on travis.