Collapse tree any time a user does an action in the tree that would select an object; don't only do this on navigation changes, because this fails to detect occasions where user clicks the already-navigated-to object.
WTD-1051.
Modify tree so that it includes its root in most cases, for WTD-922.