A default way to turn Spendable to/from text.
Add tx_from_hex.
Add confirm_inputs.