grailsoverride: more stable way of testing a grails plugin.

Because newer version of grails do not exactly work with the previous
hackish implementation of grailsoverride. Now it relies on
`grails.plugin.location.$plugin`. This should be more stable even though
it has quirks on its own.