Make pg Storage.extid_add() write extid objects to the journal
also merge test_replay's _check_replayed and check_replayed in a single function.
Migrated from D5413 (view on Phabricator)
Staging instance, all changes can be removed at any time
also merge test_replay's _check_replayed and check_replayed in a single function.
Migrated from D5413 (view on Phabricator)