Moved the parsing stuff up from BasicResolver to ExternalResourceResolver, removed some unused code, and added some coverage for the legacy properties on MavenResolver.
Add back the driver used to run Gradle from inside IDEA.
Moved a couple of properties up from BasicResolver, and changed ExternalResourceResolver to extend AbstractResolver instead.
Added rudimentary support for 'configuration-on-demand'.

This change is probing the possible implementation. The final implementation will probably be completely different (and much prettier). Yet, I wanted to push something to the master to accelerate pairing / designing the implementation of this feature.

The current idea:

1. Configuration on demand is controlled by a system property (down the road, we'll probably add command line support, support in gradle.properties, etc.)
2. To support name matching execution properly and make the configuration on demand sensitive to the current directory, I've added new BuildConfigurationAction.
3. Added dependencyProject.evaluate() when the project dependency is resolved.
4. Changed the ProjectEvaluationConfigurer to avoid evaluation every requested project when configuration on deman is 'on'. Only root project is evaluated.
Reverted the support for 'configuration-on-demand' (previous commit) due to the test failures that need investigation.
Some spec updates.
Don't fail the probe to check for Jetty if we happen to hit jetty while it is starting up.
Some minor tweaks.
Merge remote-tracking branch 'origin/1.2-doc-fix'
Fixed up the dsl meta-data for the java-library-distribution plugin.
REVIEW-675: Clarified comment
REVIEW-753: Added apilink to task type in ivy publishing docs
- Fixed empty section title in chapter for ivy-publish
REVIEW-755: Doc tweaks
- Add teaser to old publishing chapter to promoted new publishing mechanism
- Add breaking change to generated ivy.xml to release notes
REVIEW-765: Added test for publishing with non-ascii [org, module, artifact, version] with ivy-publish
REVIEW-759: Improved summary of exception reported in "* What went wrong:"
- Include messages of all @Contextual exceptions in the cause chain
- Include direct cause of deepest @Contextual exception
- Don't special-case InvalidUserCodeException: it's just another @Contextual exception
Fix release notes
Inlined the relevant pieces of AbstractResolver into ExternalResourceResolver, which now implements DependencyResolver directly.
Replaced some usages of ProjectInternal.getServices(), ProjectInternal.getFileResolver() and GradleInternal.getServices() with dependency injection.
REVIEW-645 - changed SaxJUnitXmlResultWriter so that it always closes the test output reader, and deals with test output > 2048 characters long.
- changed TestReportDataCollector to return an empty reader instead of null when test has no output.
Fix the PublishToMavenLocal task so that it only creates a MavenLocal repository if one hasn't been explictly set (REVIEW-762)