add intellij patterns to .gitignore.