Build backstacks from up chain.

Moves the existing Flow#replaceTo() behavior into Backstack,
so that brand new flows can be created that way.