Update to grails 2.3.1

I accidentally deleted this branch and the pull request attached to this. This PR updates the codebase to 2.3.1