Gradlified the build and prepared it for Maven Central deployment.

I've updated this project to support Gradle based builds and set it up for Maven Central deployment.  I needed it for a project so set it up to deploy with my group id, so that I could get it deployed immediately for use, but I'd like to be a good citizen and send these changes back. 

Please feel free to update the deployment information with your own group id, if you'd like, so there is a single point of contact for this.  I'm also happy to keep it in mine since the Sonatype setup is a pain, but since you wrote this I'd like you to be able to get credit for it.