Avoid Java 6 API.
GRADLEREV-12,GRADLEREV-10 - include class level output in junit at suite level in output per test case mode.