Ensure content values that are returned from getContent() that contain
\Twig_Markup objects have __toString() called before conversion to JSON.
Merge pull request #1736 from GawainLynch/hotfix/editcontent-postsave-ajax

Fix for #1733