Consolidate course_id triple parsing
Merge pull request #2660 from edx/dbarch/parse_course_id

Dbarch/parse course