Move `add_users_to_cohorts` view to instructor.views.api
Fix validation bug