FR: store selection state in TreeView openessState xml


TreeView::getOpennessState (const bool alsoIncludeScroll) be extended to also have a :

const bool alsoIncludeSelectionState = false


For lightweight treeview stuff, I’m finding the opennessState() method pretty convenient, but it would be uber handy if it could also optionally store which tree items were selected.

Could do…