(bug 44535) introduction of wb.utilities.ui.buildToggle

Allows to generate a toggle button in a generic way. Used by the error tooltip.

Change-Id: I829ed99c493e172eb9d104e233b6361f6674232a
Merge "(bug 44535) introduction of wb.utilities.ui.buildToggle"