Gradle 1.10 / Android Studio 0.5.1 support

 - changed build files to support gradle 1.10 and android studio 0.5.1