3.0 hhvm travis

A bunch of changes to add hhvm to the build matrix in travis and make the tests run without fatal errors or segfaults