Add "dom" event

New "dom" event will be triggered just after HTML gets updated and before
internal "instantanize" function gets called.