Pull all the code that depends on `bitcoinconsensus` out into a separate module `consensus::validation`. Leave transaction testing of bitcoinconsensus code in the transaction module.