Assign cohorts to groups in the instructor dashboard

TNL-653
Also, RTL-ify.