GRADLE-2821 - Handle reporting on test tasks that ran no tests.

If all test tasks to be reported on have no results, then the test report task is skipped.