Add new Event type

* replaces previous Event type, which is too limited.
* Remove writing of old event type.
* Fix serialiazation test to automatically test all types.
Merge pull request #1354 from lavalamp/eventing

Add Event to api types