Remove GPG asymmetric key stuff.

Everything related to asymmetric encryting will be handled by Key Manager.
Fix events signaling.
Add 'get_all_docs()'.
Add create_doc_from_json() to API.