Upgrade to grails 2.4.x

ApplicationHolder is deprecated in grails 2.4.x, instead use injected grailsApplication