Add support for creating multisig inputs scripts that redeem P2SH outputs

Redeeming a P2SH output requires that you provide the signatures as well as append the original script.