Introduces the TxHash type, and starts refactoring txid to txhash. This will be spread over multiple commits.
This is the basis of MalFix with naming txhash/txid.
It is quite tricky to ensure no txid is kept where txhash is meant.
As txid will be rare, I propose for safety to fully rename txid to
txhash, eliminating txid usage before reintroducing txid to COutpoint.