Support adding cohorts from the instructor dashboard

TNL-162
This code is using the toggleClass method that takes a parameter to specify which way to set the value so there isn't a risk. However, if you have an irrational fear of the method I can switch it. :-)