Must add to the objstorage before the DB and journal. Otherwise:
- in case of a crash the DB may "believe" we have the content, but we didn't have time to write to the objstorage before the crash
- the objstorage mirroring, which reads from the journal, may attempt to read from the objstorage before we finished writing it
This is already done in the postgresql backend unintentionally since D2848.
This commit documents it, makes the cassandra backend behave that way too,
and adds a test.
Resolves T2003.