jQuery: split out Event constructor in separate object.

This way, it is possible to specialize constructor for certain strings
to return a specific event type.
Merge pull request #1370 from hesselink/jquery-event-specialization

jQuery: split out Event constructor in separate object.