Using course ID regex from set

- API now use same regex as the rest of LMS
- Content regex includes the period (.) character
Merge pull request #304 from edx/clintonb/api-cleanup

Using course ID regex from set