GRAILS-9251 - improve controller compiler

The compiler was issuing a warning about non validate able command objects if the command object type wasn't being compiled as part of this project.  This was causing unnecessary warnings when using validate able objects that are provided by plugins or libraries.