Pruning submodule directories
closes #3853
Merge pull request #3854 from permcody/prune

Pruning submodule directories