Added .gitattributes
Fixed line endings and file modes