Updated .gitignore, fixed line endings handling