Rename signTxOutput to RawTxInSignature

As we discussed on IRC, this exposes and renames signTxOutput. It is exercised (with 100% coverage, apparently) indirectly by a few tests already, and although I could write tests that exercise it directly, ISTM they'd duplicate most of the code in TestSignatureScript, so I'm not sure it's worth doing so.