when enrolling a student from a PaidCourseRegistration or a RegistrationCode redemption, then note the CourseEnrollment id in the respective tables
Merge pull request #6336 from edx/cdodge/wl-171-record-enrollment-ids

WL-171 when enrolling a student from a PaidCourseRegistration or a Registration...