HHVM support & compatibility v2

This is lighter solution of #104, without introducing arguments API etc.

ping @milo for review
function is good, but `require_once` should be in `bootstrap.php`.