Updated to Gradle 1.9 (including gradlew update); removed usage of "mutable ClassLoader" which led to unnecessary reliance on Gradle version; fixed usage of deprecated APIs; formatting cleanup