Ignore dirty submodules

Ignore changes in submodules caused by the build process. This prevents
these submodules from showing up when checking git status.
Merge pull request #236 from Dparker1990/ignore_submodule_changes

Ignore dirty submodules