Workaround for GRADLE-2629 - pass daemon args via -Dorg.gradle.jvmArgs to daemon executer.
Fix log message.
Specify gradleUserHome via --gradle-user-home instead of -Dgradle.user.home, which is the most workingest option right now.

This means that we go back to the (non embedded) tests not working on Windows if the checkout has a space in its path. See the comment in the commit for more details.
Cater for GRADLE-2630 (single use daemon process does not exit before client) by using a spin assert in tests.

This should be removed when GRADLE-2630 is fixed.
Prevent tests from using withEnvironmentVars() to set GRADLE_OPTS, which was wiping out the GRADLE_OPTS values set by the testing infrastructure.
Don't try and set GRADLE_OPTS in these tests.
Add “localPerformanceTest” build type.
Fix the performance test fixtures.
Merge branch 'release'