Implement a course outline REST API

STUD-1192
Fix the unit test so that it actually works on populated course content.