Support usage of the gpg-agent
gpg has this nice feature named gpg-agent, which stores the passphrase in a secure memory, so that the client (gajim) doesn't need to know about it at all.
See attached patch, which adds a new config-option (not in the preferences yet, as I'm not very used to glade), and let's gpg use gpg-agent if the user wants to.