Cohort events

@dan-f @jimabramson @mulby Please review

@stroilova FYI
same fix is being done in https://github.com/edx/edx-platform/pull/5418