Remove obsolete reference to CourseEnrollment.role and port copy_instance to CourseSection