Add class methods for enrollment and unenrollment to CourseEnrollment model, and convert other code to call it.
Fix more tests after CourseEnrollment enroll/unenroll methods added.
Fix more tests relating to moving enroll/unenroll logic to CourseEnrollment model.