test: fix RawPacket comparator
test: implement a ton of PgpKeyOperation tests
add come createKey strings
modifyKey: preserve master key flags
some UncachedKeyRing fixes, primary user id mostly
modifyKey: couple more fixes from tests