Added .gitattributes & .gitignore

Kind of a /shameless plug, but Windows' CR/LF is annoying me to hell.
Adding this in just to restore my sanity.