Added workaround for hhvm's broken registerNodeClass support (inspired by FluentDOM's implementation)
Added workaround for hhvm's broken registerNodeClass support (inspired by FluentDOM's implementation)

theseer/fDOMDocument