Fix jacoco sonar integration

Move prepare-agent/report so sonarqube gets test coverage.