Use Grails 2.4.4, fix dependencies for functional tests in scaffolding-2.3 project

It looks like this code is for running the Grails wrapper under Cygwin, I can think of any scenario where this would be useful, so perhaps this isn't terribly important, but still worth correcting if it's an error.