Serialize course ID to unicode to correctly handle opaque keys

[TIM-558](https://edx-wiki.atlassian.net/browse/TIM-558)

Opaque keys fix.  @stephensanchez