GetRelatedAccounts return map<key, value> to avoid accessing database multiple times
when prune, remove the oldest offline node
Merge branch 'MAID-315_Update_DataManager_account_rebase' into MAID_363_test_updated_DataManager_Account