[SUREFIRE-1020] Fix rewriting of chars in system-out and system-err that are illegal in XML 1.0/1.1
[SUREFIRE-1020] Extended unit test
Submitted by: Todor Todorov

o Applied without any changes