Modular wallet backend

Remove all #ifdef ENABLE_WALLETS and replace them by calls
to a wallet backend.

Wallet backends can register their own RPC calls, as well
as provide information that will be shown in the getinfo,
getmininginfo calls.