Feature/openpgp context manager

refactored _safe_call in keymanager.openpgp
the destructor for the unitary wrapper is explicitely called in this way.

added also some logging of errors during the gpg call.