code: add wrapEmitter for generic EE extension

Mostly useful in CLS, but generic enough to be applicable elsewhere.
release: 0.8.0 - add wrapEmitter
docs: added docs for wrapEmitter
release: 0.8.1 - forgot to update docs in 0.8.0