Fixed broken XML junit output due to escaping of CDATA sections

I've removed CDATA and used htmlspecialchars as the output might not be UTF-8 safe, as pointed out by ircmaxell in 26b37f1792dfaf9b0b30f81e492c8f68b9ece571
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed broken XML junit output due to escaping of CDATA sections