Fix the bug that when removing a DomRange, the $_uievents is not cleaned up in its parentNode. This bug will make the event handlers and Dom elements stay in memory resulting very serious memory leak.
Merge branch 'bug-fix/events-cleanup' into devel