Add .gitignore.
Add support for Gradle.