LPS-35638 Make the Icon tag work outside of a portlet
LPS-35638 Provide a quick way to switch between the administrator's sites when managing their content/configuration/pages

The selector logic was obtained from the control_panel_menu/view.jsp from 6.1 and was greatly simplified.