We would like all the various hash types to be defined where they rightly live instead of in the `hash_types` module. Move transaction hash types to the `transaction` module.