Course keys use key introspection

@brianhw, @watsonemily, @srpearce, and @stroilova, please review.
Question: is there an impact on CommentThread.commentable_id for
discussion threads?
I don't know how many hairs we want to split here, but it's only identifiers for "course reruns", not for all new courses.