port to new soledad async api

**Not ready to merge, missing changes in leap.mail and maybe other to be compatible with the new API**

It needs to synchronize the merge with the soledad async API and the upgrades in leap.mail.
Yes two lines above. It might be more clear to include it in *get_key_from_active_doc* method, but I didn't want to make this method bigger.