Publish sections/subsections/units from course outline. 

**Tickets:** [STUD-1911](https://openedx.atlassian.net/browse/STUD-1911), [STUD-1932](https://openedx.atlassian.net/browse/STUD-1932)

**Acceptance criteria:**
* Selecting the Publish option from the course outline should bring up a pop-up confirming the publication of all unpublished changes for the section/subsection/unit, with options to publish or cancel publishing. 
* All course content in that unit should be immediately be set to “Public” and be visible to students if the release date is in the past. 
* The course outline should update to reflect the published status after the bulk publish action.

Sandbox: http://tymofij.m.sandbox.edx.org/
Performance is not affected. It was measured as execution time for 

        course_module = _get_course_module(course_key, user, depth=None)
        _course_outline_json(request, course_module)

I didn't know you can nest a test function inside of a helper method like this.