Require course ids to be case-insensitively unique

@singingwolfboy @shnayder @adampalay Can whatever set of necessary reviewers is appropriate please review asap for fixing https://edx-wiki.atlassian.net/browse/STUD-873