Updated Display of Opaque Keys

@brianhw @dsjen @rocha @mulby 
I have updated the code to set `course_id` to be `unicode(course_key)`. `course_id` is needed throughout the code, so I would rather set it in one location than make the `unicode()` call in multiple locations.