retry of the save/publish functionality

a reimplementation of https://github.com/mozilla/thimble.webmaker.org/pull/249, since rebasing went horribly, horribly wrong.

Note that the buttons cutting off the title is no longer an issue as we changed the UI to no longer show the full title for a preview, only a "view" button if the page was already published.