Migrate to Android Studio 0.5.1 and Gradle 0.9.+