Support absence of wallet (pwalletMain==NULL) in several locations,
notably RPC.
init.cpp: cosmetic code movement, preparing for no-wallet mode.

No behavior changes, just indentation changes.
Add -disablewallet option, to disable wallet support (and BDB)