Create gradle plugin

Phil,

Here's the changes I made.

The bigest change from the old code was moving the source folders to conform to the standard java and groovy gradle plugin paths, so now there's src/main/java and src/main/groovy.  build.gradle no longer configures any specific path info.

Additionally, this can now be used directly as a gradle plugin.

Dan