Adding editability to training cohorts

This code is modeled on @rbeagrie's addition of editable events.