updateHierarchyInput() now notifies Shiny when the value changes. Sending
data, selected or clear updates input$<id> on the server immediately;
previously the checkboxes changed on screen but the server kept the old value
until the user clicked a checkbox. Messages that only send expanded or
open do not resend the value.
updateHierarchyInput() now handles a single selected or expanded id
correctly.