Add expand/collapse support for decks in browser tree.

The state is preserved in a new deck configuration key named 'browserCollapsed'.