Add RPC call `getrawwallettransaction`

This allows getting raw transaction data from the wallet even if the transaction is no longer in the blockchain / mempool (for example if it got orphaned due to malleability abuse).

Was also proposed in #3220, but is urgently useful now.