Build upgrades

Necessary upgrades to build.gradle et al files so that we can import & build project in newest Android Studio.