removed mavenLocal() in build.gradle

Using mavenLocal() might create problems due to [Gradle issue](http://issues.gradle.org/browse/GRADLE-2709) and gives no performance gains (explained [here](http://forums.gradle.org/gradle/topics/gradle_fails_to_download_dependencies_if_not_present_in_mavenlocal), reply by Peter Niederwieser). 
Other lines changed due to removing blank whitespaces at the end of lines.