TreeView: Don't automatically focus a node when it's selected.

This led to problems when selection state was set programmatically.
Build sm-treeview.
TreeView: Remove child list from DOM when parent's last child is removed.
Build sm-treeview.