Event: Copy detail property to jQuery.Event on native events

Fixes gh-1867
(cherry picked from commit d9ed166c865e91ccc8cef1ca282785c500ca2306)

Conflicts:
   test/unit/event.js