$app['storage']->saveContent() always returns the ID of the content
saved
$this->app['db']->insert() and $this->app['db']->update() only return
row numbers or generate \Error's
Code comment
Logically redorder and comment
Better handling new vs. existing records
Handle Bolt 2 content creation based redirects properly
Add an else{} and TODO comment that we hit when saved by and AJAX POST
Correct comment
Pass 'new' as the ?returnto= parameter in editcontent
Handle AJAX saves with specificity
More concise handling of save states
Add a marker comment
Flush output buffers and return JSON to the AJAX caller
Revert "$this->app['db']->insert() and $this->app['db']->update() only return"

This reverts commit 02ecc4c09bbb17e0e84303361db45a177d52fd7c.
Check for ob_get_length()) before calling ob_end_clean()
Merge pull request #1684 from GawainLynch/hotfix/backend-save

Backend editContent() save clean ups