Support adding students to a cohort

TNL-163
Note to reviewers: this code (except new add_user_to_cohort method below) was moved from the other helpers.py file.