added test case and sample code for multisig redeeming. Updated API for BTCTransactionOutput