Added possibility to change view controllers hierarchies in stack container.

Hello,

As UINavigationController provides API to swap view controllers stack completely, this would be useful feature for stack container too.