Cohort events

@dan-f @jimabramson @mulby Please review

@stroilova FYI
I decided to leave this as group_id because the group_id field is likely to be used for other kinds of groups in the future, whereas the other events are specific to cohorts.