Android Studio and Gradle upgrades with local maven publish

* Upgraded the gradle plugin in the gradle build scripts to 0.12
* Added the new maven-publish support for local maven (.m2) deployments
* Upgraded the android buildtools to use 19.1.0 instead of the older 19.0.3
* Upgraded the gradle wrapper to the new 1.12 version and created a wrapper tasks for future upgrades
* Publish task handle dependencies defined in the pom file

This will allow developers to use the new android studio, build tools and do local maven (or company) deployments using the publishToMavenLocal task or other generated tasks.