Change how a plugin is loaded.
Merge branch 'gradle-1.11' into gradle-1.12
Prepare for bootstrap release
Return real cause of a failure
Merge branch 'gradle-1.11' into gradle-1.12

Conflicts:
	gradle.properties
	plugin.gradle
Add SNAPSHOT to version
Add SNAPSHOT to version
Using released 1.12
Use .groovy files instead of .java files.
Support a custom distribution and use the better GradleRunner in the GradleDependencyGenerator
Removing tooling api, it's not needed and causes problems in the IDE.
Fix some return types (that the Groovy compiler couldn't pick up on compile time)
Use custom distribution
Restoring state of files, by aligning plugin.gradle