Update gitignore for IntelliJ and gradle.
Add basic project files.