Add settxprevcache RPC command.

The new settxprevcache RPC command can be used to enable and disable the
txprev cache during runtime.  When disabling it, all cached entries from
the mempool will be cleared.