Fix error when doing non-ASCII forum search

Fixes TNL-160
Add cohort information to forum search events
Remove dead code
Add events for cohort modifications

This includes cohort creation/deletion and membership changes.
Merge pull request #5463 from edx/gprice/cohort-events-take2

Cohort events