XD-1224: Add gradle jacoco test coverage.

- Enables the jacoco plugin for relevant projects.
- Adds an aggregate 'coverageReport' task at top level to accumulate all the
data for the sub projects.
- Removes the additional jacoco configuration for sonar. Sonar now uses the
coverage data files produced by the gradle plugin.