Fix #2974 - Invalid Chars in JUnit XML
Fix #2974 - Invalid Chars in JUnit XML

JUnit XML (produced with --log-junit) is invalid (and won't be opened by
some programs) if it contains invalid XML characters in the <system-out>
node. Fix this by sanitizing text before adding it to the XML.

Firehed/phpunit,sebastianbergmann/phpunit