Edit section and subsection at course outline page.

WIP.
I don't think that we need this `if` statement here. I'd suggest to send the data always and the client will decide whether he needs this information.