Ensuring DataStore versioning works when restoring from mongodb, adding an optional parameter to `data.set()` to overwrite the record in persistent storage, fixing reference errors in `store.delComplete()`