updated the course registration models
Merge pull request #4444 from edx/muhhshoaib/course_registration_code_model_changes

updated the course registration models