Upgrade build to support the latest Android Studio

Upgrade gradle 1.8->1.11 and android build tools 0.6->0.9.