Added Gradle support.
Cleanup commit. Added tmp files and Gradle outputs to the ignore list.