Fix tab selection in tabbed composite from URL path anchor

For instance, /Maintenance/Events#ConfigureDispatchers goes directly to that composite
Merge pull request #987 from Zentyal/ejhernandez/fix-select-tab-in-URL-anchor

Fix tab selection in tabbed composite from URL path anchor