Added stage-gen tool to generate stage structures.
Started work on BuildGraph stage. Added mwcdump to describe arbitrary nodes in a repository.