Integrate visual styling into the course outline

STUD-1849
There do not appear to be any JavaScript unit tests that cover this logic (there is no course_outline_spec.js for the view version of course_outline.js, just the page version).