Add cglib dependency to the Grails project test scope

This change addresses GRAILS-11535