Implement react component that clears database anbd secure store when user logs out or deletes account
Summary: This differential implements react component that attempts to clear SQLite and secure store when user logs out or deletes account. Component attempts deletion when 'currentUserInfo' of redux-state changes to 'anonymous' which indicates that log out succeded or account was succesfully deleted
Test Plan: Build the app and repeat log in and log out action several times switching users. Additionally some accounts might also be deleted. Application should work without any difference no matter whether it is kept foregrounded, backgrounded or closed by the user between subsequent log-in and log-out actions. Additionally database size should be monitored in XCode/Android studio after each log out and log in to ensure it is actually deleted and recreated empty.
Reviewers: tomek, atul, ashoat
Reviewed By: tomek, atul, ashoat
Subscribers: ashoat, adrian, abosh
Differential Revision: https://phab.comm.dev/D4730