Bugfix: submitblock: Use a temporary CValidationState to determine accurately the outcome of ProcessBlock

Fixes #5083 (based on #5105)
Ok, added a commit renaming ProcessBlock (since its behaviour changed after 0.9) and documenting it.