[server] Break the accounts manager into smaller functions
Trying to refactor the beast that accounts-manager has became into smaller functions. I think I'm not done yet, but this already helps a bit, imo.
Would be nice to get the real account's balance in Kresus, so we can forget about all the accountInfoMap
and balanceOffset
ugly hacks that we did in the past :)