WIP - Integrate visual styling into the course outline

STUD-1849
It would be good to do a PR of the LegacyPublishState rename into master (or else change it back?). I'm worried it will complicate rebases on master.