Added ignoring dirty submodules based on this blog entry:
http://www.nils-haldenwang.de/frameworks-and-tools/git/how-to-ignore-changes-in-git-submodules