Initial conversion to and from kopete keys.

I've tested the conversion to and from pidgin keys/fingerprints.

Any help in fixing the testsuite is appreciated.