Turn this into a derived mode being careful of Emacs 23 compatibility. Add extra file extensions to the autoload list as suggested by Vasily Korytov (cillum) in pull request #16 https://github.com/russel/Emacs-Groovy-Mode/pull/16.