save as local if save to origin fails

We use to ignore ajax errors. The dom updates
but changes aren't saved. No warning.

With this change we saved failed puts to origin
in browser local storage. This turns the border
yellow, which is something. Continued editing
sometimes works.
Merge pull request #50 from fedwiki/ward/be-local

save as local if save to origin fails