Support adding students to a cohort

TNL-163
It is just an efficiency thing, because the response to the user is quicker, the subsequent AJAX call doesn't have to be made, and the view doesn't get refreshed. However, if you think that complicates the logic too much to be worth it I could change it back.