Fixes publishArtifacts task

Moved git functions to top level build.gradle and cleaned up Simperium/build.gradle

Add config to build all versions of library (debug and release)

Updated name of release artifact in publishArtifacts task

fixes #106
Merge pull request #107 from Simperium/issue/106-fix-artifacts-tasks

Fixes publishArtifacts task