Populate keyserver_olm_accounts table
Summary:
This differential populates keyserver_olm_account table with primary and notifications olm accounts. Methods to create pickled olm account and unpickle pickled olm account are implemented as well. Pickled olm account creation implementation is take from the following diff:
https://phab.comm.dev/D3209. It might be usefull for reviewers to take a look at this diff to potentially avoid questions that have already been answered.
Test Plan: Repeat test plan for the parent diff. Additionally using database inspection tool of choice examine the content of keyserver_olm_accounts table. Ensure there are two different accounts there that one of which has is_primary set to TRUE, while the other set to FASLE.
Reviewers: tomek, atul, bartek, inka, jon, ashoat
Reviewed By: ashoat
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D7561