upgrade gradle wrapper from version 1.0-m9 to 1.0
make sure tests pass on windows, too
upgrade gradle wrapper from version 1.0 to 1.2
Fix Clover test detection in Groovy projects. Required for upcoming test optimization feature.
Add test optimization feature.

The 4 Clover dependencies are on Clover 3.1.7, but the test optimization
integration test actually requires the as-yet-unreleased Clover 3.1.8,
because the test checks the Clover debug output, and Clover 3.1.7 and
prior has a small bug that prevents debug output from being emitted when
used from outside an Ant task (which this code does).
Ignore .clover test snapshot dir (it's not in any build dir).
Let Clover do its thing whenever a test task is run, not just when the generate report task is run.

Allows test optimization to do its magic even when just "gradlew test"
is run, instead of requiring "gradlew cloverGenerateReport" for test
optimization. The report generation task depends on the test task(s)
anyway, so report generation still works correctly.
upgrade clover: 3.1.7 -> 3.1.8

new version of clover has fixes for
https://jira.atlassian.com/browse/CLOV-1165 and
https://jira.atlassian.com/browse/CLOV-1166
Updated renewed Clover OSS license.
Fixing test that compare contents of license file.
fix cloverAggregateReports dependencies

cloverAggregateReports task should depend on all cloverGenerateReport
tasks in all projects (affects only multi-project builds)
Merge remote branch 'gredler/master'.
Merge remote branch 'gredler/master'.