Fix pg Storage.extid_add(): write ExtID objects to the journal
and explicitely check for extid objects in the journal in TestStorage.