Improve the API of JacocoReport and JacocoMerge tasks.

Work on #2 to provide more fluent APIs for Jacoco tasks.