SessionTreeItem: use ViewInfo::Type for faster sorting
Implement #54: Settings: re-open/remember channels/queries