added .gitattributes for Windows-proofing

really just need "* text=auto", but the rest is nice too.
added "credentials.txt" to .gitignore

for per-user credentials, not to be synced back to repo.