hhvm support

- [x] adjust travis.yml and tests to run on travis
- [ ] make sure tests run without errors on hhvm

fixes #1511