Update build files

* Updated gradle to version 1.0.0 as required by Android Studio
* `applicationId` can no longer be set in `build.gradle` for a library project. Removed.