Fleshed out the performance improvements in the release notes, plus some editing.
Added docs on configuration on demand mode. Created a section in the user guide and mentioned the incubating feature in the release notes. I'm slightly worried that I've overcooked the docs on the matter because the feature is in a very early incubating phase and is subject to change (e.g. name of the feature can change, etc.).
Merged from release.
Configuration on demand - added coverage for some interesting scenarios.
Configuration on demand supports the 'external' task dependencies.

E.g. dependsOn(":foo:bar:someTask") causes evaluation of projects 'foo' and 'bar'. Mentioned it in the release notes (will get expanded later). There were a couple of ways of implementing it so I'm not sure the DefaultTaskContainer is the best spot.
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'
Tidied up useDefaultListeners flag (TestNG).

- undeprecated the flag in code, updated the release notes accordingly
- added documentation for 'useDefaultListeners' and 'listners' properties including code samples
- documented in the docs & release notes how to use old TestNG reporting
Added Test.binResultsDir property, and write binary test results to this directory when tests complete, so that they are available later for reporting on.
Added initial TestReport task, which takes the binary test results from one or more test tasks and generated the HTML test report.
Added some stories.
Fixed TestTest to not scribble into $rootDir.
Added className to TestClassResult, so that it does not need to be carried around separately.