Various test fixes in zend/dom

Import various files used by dom tests
Add hhvm.libxml.ext_entity_whitelist to ini

These are all used in tests. None of them turn good after this unfortunately.