delete CourseEnrollments related to a course on course_delete

STUD-1140

Delete 'CourseEnrollments' related to a course when that course is deleted so that if a new course with same name is created again then user can get forum roles.