Fix line ending issues
Add all IntelliJ files to gitignore.