log start and end of Shutdown()

- could be helpful when debugging shutdown related problems
RPC validateaddress: test pwalletMain for NULL (no-wallet mode)
Merge pull request #3038 from Diapolo/Log_Shutdown

log start and end of Shutdown()