Rework mouse.enter/mouse.leave to work properly with selectors by using the selector itself to compare the exit and entry nodes for filtering the event, fixes #14509 !strict

git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@27489 560b804f-0ae3-0310-86f3-f6aa0a117693
(cherry picked from commit 7fabe75b277662b2b1cc91eae9b7cb5afa5832e5)