Add Event Registry/REST types

Also, given that these are kind of part of the API, I think it makes sense to define them in api/types.go  (plus you should make "InvolvedObject"/whatever a constant anyway to avoid typos.)