- fixed build on windows (remove deprecated useAnt gradle groovy options
and updated jansi for compatibility with jline)

- prevent DefaultGrailsApplication.setMainContext invoking getBean() on
an unrefreshed context during app start
Merge pull request #421 from zyro23/2.4-windows

make current BUILD-SNAPSHOT build and run under windows