Discard changes rewrite.

STUD-1860

@andy-armstrong and @benmcmorran Please review.

My sandbox has the final version of this. http://studio.cahrens.m.sandbox.edx.org/
I'm confused why this response has published and has_changes. Isn't it responding to the discard_changes POST, which responds with only an id?