Added PGP-Key-ID

Added second query to query for the field "PGP-Key-ID" that can contain
the PGP key id.
Add this key to the contact details (is overwritten, if a presence is
detected).
Closed cursors.