Creates a new event of the given type.
All fields are set to 0.
a EventType
a newly-allocated Event. The returned Event should be freed with free.