Support adding cohorts from the instructor dashboard

TNL-162
Using && is a very Lisp-like way of doing things but I can see why others might not be. Also, @dan-f's point about what is falsey in JavaScript means that it can be a little dangerous to do this. So I'll make the switch.