fix AST class copying
fix the plugin name populated into @GrailsPlugin
Changes to support the cache plugin