implement writing gajim keys

This adds support for writing OTR keys and fingerprints in a format Gajim can understand. I successfully used it to convert my data from Pidgin.