ActivityPub: Insert activities and execute side effects in one transacition
I've noticed some cases where a delete activity is inserted, but the object is not actually swapped with a Tombstone. We should insert and execute side effects in one transaction to prevent this.