Fix some spelling mistakes and add intellij-specific gitignore file