Pointer Events: Ported jQuery submission from mercurial.

This is a copy of the jQuery submission from the mercurial repository. This fully covers everything in #104, as well as addressing @Ms2ger's comment.