ostream.tcl: add XMLEscape and Capture
move test results printing into formatter class
Testing::TestResult -> Testing::TestResultFormatter