Integrate visual styling into the course outline

STUD-1849
There were no unit tests that captured the publishing title bugs I fixed. I should add them. I think this are conditions that would have failed before (will verify).

1) published = true, has_changes= false, visibility_state = scheduled.
2) published = true, has_changes = true, visibility_state = unscheduled.