Feature/6299 new doc

* New doc struct for encryption keys https://leap.se/code/issues/6299
* Multi uid support https://leap.se/code/issues/6212
* Keep old key after upgrade https://leap.se/code/issues/6262

OK for me.