Public API for updating objects atomically

Let me know what you think: https://github.com/remotestorage/remotestorage.js/issues/834