moved remaining modern bits of cvsignore into gitignore.
Add .gitattributes files to ensure config and cmake files stay unix-end-of-line

Also excludes .gitignore and .gitattributes from git archive command.