fixes in mongoose storage so that errors related to PUT are propagated correctly
added a missing call to willChange
removed obsolete code and improved error propagation