Convert CodeNarc rules to Groovy.

This is intended to preserve the same rules (including custom naming configuration) as the XML files.
Tweak syntax for codenarc build integration
Add selected CodeNarc rules from unnecessary and unused and bring code into compliance.
Merge branch 'master' of github.com:ratpack/ratpack