Updated Course ID Regex

This regex is a bit more lax and will allow for hyphens and other characters in course ids.

@rocha @dsjen
I adapted my regex from edx-platform. Taking the regex directly from there resulted in a redirect loop to `/enrollment/activity/enrollment/activity/...`. I gave up after about 10 minutes of experimenting.