Convert edit_subsection, edit_unit, and publishing to RESTful URLs.

STUD-844
Updates from code review. Includes backing out the
"as_published" changes I previously put in, as now we
are not adding @draft to locations converted from locators.
Merge pull request #1728 from edx/christina/components

Convert component.py to use RESTful URLs.