Fix line endings

.gitattributes and .gitignore files added.