codestyle: Add a .gitattributes

Andrew Chapman pointed me at .gitattributes to make git properly use lf as the reference line ending for all our text files (converting to/from cr/lf on windows).  

Per this helpful article: https://help.github.com/articles/dealing-with-line-endings

This PR contains two changes.  The .gitattributes file and changes to the smallish number of files that had crlf even on linux clients.  The normalization change is required to prevent yelling at users who edit these files.  Since the line ending changes on every line, please merge soon (if you want this change) to prevent merge hell...