Bugfix: bitcoin-tx: scriptPubKey may be null, so accept outscript=<n>:
bitcoin-util-test: Test bitcoin-tx with null scriptPubKey
Merge pull request #4909