GPRESOURCES-177: Give module DSL closures access to grailsApplication

This pull request includes a implementation of GPRESOURCES-177: "Make GrailsApplication available to module DSL closures"