add appropriate .gitignore files

in the appropriate directories, making up for
commit f0c85c3311f4254b21de5b5dca38208ae884f689
Merge branch 'master' of github.com:Macaulay2/M2