This PR moves manipulation and knowledge of vpwallet
(the vector holding the CWallet* pointers) into CWalletManager
. All access will go through the global g_wallet_manager (similar to g_connman).
This should it make easier to later add concurrency protection for wallet adding (loading) / unloading as well as it cleans up the code.
There is a lot of room for optimisation, but, to make faster progress, the scope of this PR should not be widened.