Bugfix: Track final validation of blocks through ActivateBestChain, restoring the expectation that ProcessBlock gives some kind of final CValidationState for blocks

Should fix submitblock returning false positives (issue #5083)
CreateNewBlock and miner_tests: Check generated template is valid by ProcessBlockChecks (and therefore also AcceptBlockChecks)