Migration to Gradle 1.11

I faced a problem while building android_core on new Android Studio 0.5.1 release. See https://github.com/rosjava/android_core/issues/198. So I have to migrate to Gradle 1.11.