Tab state overrides by class or HTML5 history state

Necessary to switch from tree view to list view programmatically,
which reloads the whole tabset and needs to enable the "list" tab.
Used for the new "Show list as children" functionality in the cms.
Merge pull request #1288 from chillu/pulls/tab-state-overrides

Tab state overrides