Add .gitignore.
Rework to fix up submodules.