Static compilation for Groovy - EUCA-8091

Add Groovy compiler configuration for use when compiling modules. Static
compilation is enabled by default for Groovy files in packages.

Groovy classes that require dynamic feature are annotated so they are
compiled as before.
Merge remote-tracking branch 'origin/dev/sjones/EUCA-8091' into testing