Added gitignore to gitattributes to prevent line ending issues as reported in #317