Declare .gitattributes and .gitignore with 'export-ignore'

* .gitattributes: declare these two files in .gitattributes with the
'export-ignore' attribute, for the benefit of 'git archive'.