events: add Event.doc attribute that got lost during new-events.
events: add Event.doc attribute that got lost during new-events.

fixes #69

frostyfrog/mark2,SupaHam/mark2,frostyfrog/mark2,SupaHam/mark2