Add RPC `reissuetransaction`

Add a new wallet RPC call `reissuetransaction`. Implements #3677.

The is make it possible to re-issue transactions that got stuck because they built on unconfirmed change transactions that were malleated.

- For conflicted transactions:
  - Iterate over inputs, find variants of parent transactions that made
    it into the block chain, create a new transaction with updated prevouts
  - Re-sign transaction
  - Commit new transaction to wallet and broadcast it to network
- For normal unconfirmed transactions:
  - Rebroadcast transaction to network
- For confirmed transaction:
  - Do nothing