Add .gitignore files for subprojects.