gradle: move general configuration to top-level build.gradle
gradle: use latest version of the support library (13.0.0 -> 19.0.+)
gradle: use latest version of the build tools (18.0.1 -> 18.1.1)