Add before and after events for beforeGetAttribute
Improve event emitter, write docs for emitter