Honour template path for plugins when creating unit tests.

Fixes GRAILS-9763. A hard-coded path in _GrailsCreateArtifacts meant that only
the src/templates/artifacts directory was searched in plugins when creating
unit tests. This broke Spock which had its templates in src/templates/testing.
The path now uses the `templatePath` variable.
move definition of extra repo only used for development version of Grails out of BuildConfig
fixes the functional-test plugin to work with forked test-app. There were various problems with application shutdown and also registration of the functional test types in the test context. This fixes those.
Merge branch 'master' of github.com:grails/grails-core
Refinements and tweaks to resumption logic, and disable agent by default for command line
fix JUnit reports style directory for forked execution
rework default configuration for all the forked modes
start background JVM for running tests when interactive mode starts, avoiding initial startup costs for running tests
2.1.4.BUILD-SNAPSHOT
upgrade to groovy 2.0.6
update GrailsCoreDependencies.java
Merge pull request #323 from johnrengelman/groovy-2.0.6

upgrade to groovy 2.0.6
Merge branch '2.2.x'

Conflicts:
	build.gradle
	grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/resolve/GrailsCoreDependencies.java
Merge branch 'master' of github.com:grails/grails-core
Revert "upgrade to Groovy 2.1.0 final"

This reverts commit 05ea23cddf762e96f7af3c97b6d7bad5d26253c3.
Revert "Revert "upgrade to Groovy 2.1.0 final""

This reverts commit 8725fe8aff771bc8b612afa161b8c9484edf012b.
increase memory for persistence tests
don't increase memory, just increase fork frequency
test for http://jira.grails.org/browse/GRAILS-9627
fix the repositories being overridden by multiple repositories { } blocks