Add Imager.addEvent and Imager.debounce

Benefits are twofold:

- debounce resize events
- expose them to oncletom/Imager.jsx#2