Add .gitignore, and let git autodetect and convert line endings except in test mail data, which always use CRLF as per SMTP RFC.