CMS-3178 Create functions for listening to DOM events on Element.ts

- added keyup, keydown, keypress, mouseup, mousedown, mousemove events to Element
- added change, input events to FormInputEl
- added loaded event to IframeEl
- created api.dom.Window singleton with resize event
- refactored all usages of the above