Added .gitignore and .gitattributes

Newlines automatically fixed new lines at end of files