[JUnitFormatter] Ensured PHP < 5.4 compatibilty
[JUnitFormatter] Ensured compatibility with HHVM

ENT_XML1 constant is undefined in HHVM