By returning ScanResult from RescanFromTime and reporting the effectuality of AbortScan.
~And consolidate rpc-level error handling across RescanFromTime and
ScanForWalletTransactions.~
~Note this changes the rescanblockchain scan failure error from
RPC_MISC_ERROR to RPC_WALLET_ERROR, which seems more appropriate and matches the
behavior from the rpcdump methods.~
This follows up on #13076.