add method to improve backwards compatibility
Move logic from scripts into PluginInstallEngine
Merge branch 'master' of github.com:grails/grails-core