Abstract context-dependent block checking from acceptance
CreateNewBlock and miner_tests: Also check generated template is valid by CheckBlockHeader, ContextualCheckBlockHeader, CheckBlock, and ContextualCheckBlock
TestBlockValidity function for CBlock proposals (used by CreateNewBlock)