Added gradle support

We had some issues using maven (and who uses maven any more anyway!) so we've ported the project to Gradle.

gradle jar

will build the application jar.