Reduce mongo calls on course outline and container pages

STUD-2076. @cahrens @dan-f @dmitchell please review.
Done. There were usages in `_save_xblock` and `subsection_handler`.