Moved a bunch of general-purpose graph related stuff to live together in org.gradle.internal.graph