Adapt to Android Studio 0.4.0.

Switch to Android Gradle plugin 0.7 and Android Build Tools 19.
Add exclude rules to 'packagingOptions' for META-INF files.