Fixes for travis CI

 - require v0.9.0 of thrift for test to support jruby (v0.9.1 requires thin)
 - support ruby 1.8 regexp with missing \h