Adds IntelliJ-related .gitignore.