Rewrite course url matcher to not be greedy
LMS-11181
Merge pull request #4877 from edx/dhm/course_id_pattern

Rewrite course url matcher to not be greedy