Add "it works" test for bitcoin-tx
bitcoin-tx: Accept input via stdin. Add input handling to tests.
Merge pull request #4624