Add .gitignore to submodule.

Adapted from the main one for /bin and /obj.