Changed event handlers to accept generic events to prevent casting error...

When 3rd parties are integrating with OVV, they may (or probably already will) have their own event type which is similar to OVV's VPAIDEvent. This change prevents runtime errors for those scenarios when publishing the events to JavaScript.