test for http://jira.grails.org/browse/GRAILS-9627
Merge branch '2.2.x'
fix problem with functional test phase setup/cleanup that was causing functional test suite failures
ensure serverContextPath is configured prior to test run
errors were being hidden because something was overriding System.out/System.err... we add a check in GrailsConsole that this is not the case and restore the original. Also added some more leniency to startup errors with the functional test preparation configurer
fix Config being null during run-app when running functional tests
fix for GRAILS-9817 "Plugin 'lib' directory not included on forked mode runtime classpath"
Merge branch '2.2.x'

Conflicts:
	grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/cli/fork/ForkedGrailsProcess.groovy