Consolidate .gitignore files.
Work around bug/missing feature in setuptools.

Distutils can read the MANIFEST file but it appears setuptools can't.
So we generate MANIFEST.in instead.