better support for courses and course instances

pull https://github.com/theodi/content_api/pull/30 first please