Cleaning up build.gradle file, and moving group to gradle.properties for easier release process.

Adding release script which uses the gradle-release plugin.