Adding a generic topological sort for the update pipeline.

I hope this message never has to be understood by EF users! Does it ever escape? If not, why a message. If so, can we make the message a bit less implementation-specific and a bit more actionable?