Support HHVM

These changes improve support for HHVM. HHVM is now officially supported.

Travis build status broken due to #4. Confirmed to work locally.