hhvm support

opened this PR to try unit tests on travis. **DO NOT MERGE!**

related #1511