feat(api): Add dom new and destroy events

This also make some changes on data passed to parameters, and enhance documentation of events.

Close #214