Added .gitattributes and .gitignore

Added .gitattributes so that line endings will be properly converted.
Incidentally, I'm pleased that Github is ignoring the .meta files
produced by Unity without a problem. They *are* hidden, though, so maybe
that's why.