patch applied (cabal-branches/cabal-1.4): Add PackageIndex.dependencyGraph that builds a Graph