HHVM support & compatibility v2

This is lighter solution of #104, without introducing arguments API etc.

ping @milo for review
This is weird thing, but when  `-n` is specified, parsing of `-d` gets broken, probably HHVM bug.