Tree controller now assigns node after tree is built.

This is a great way to use the changeRoot event as a trigger for things
that need to happen when the tree is available, like opening nodes.
Merge branch '7243-tree-root'