git-attach-head: dependence on git-what-branch removed. Also added tests for safe removal in git-rm-orphaned-submodules.