Custom codenarc rules blank lines, copyright, and trailing whitespace

Require standard copyright header, no blank lines before package statement, one blank line after package, one blank line after last import, no trailing whitespace on lines.

Automating formatting conventions like these should reduce some busywork during code reviews.