preserve trust flags when saving certificates
When saving certificates to NSS databases, make a note of the trust
flags attached to duplicates that we find there. After adding our new
certificate, if we have trust flags that we noted from a
previously-present certificate, apply them to the new one.