Adding class-level stdout/stderr captures to JUnit XML reports

... and improving test coverage of JUnit report XML in the example maven project. Refs #2