Adding .gitattributes

Adding .gitattributes to manage line endings.
Modified .gitattributes

Added *.txt to .gitattributes.