Toolbar: Make styling and insert menus collapsible

Also re-synchronise toolbar in MWMediaDialog and MWReferenceDialog.

Change-Id: I8cd5f0d9f7e188fa1a7ab8d34a2796340f5e99b7
Merge "Toolbar: Make styling and insert menus collapsible"