CMS-3120 Ensure InputTypeView receives resized events

- inited resize lib when binding resize listener on element
- extended ElementResizedEvent with both width and height
- thrown show event on init to prevent the need to catch both of them if element is rendered visible
- introduced onClicked event on Element and refactored all usages
- refactored creation of element using document.createElement('div') to new api.dom.DivEl()
- also centered preview not available text a bit