Tests: Refactor contract test activation
Use separate CMake_TEST_CONTRACT_<project>
variables for each test. Make the set of possible tests match what is in the source tree.
Also de-duplicate some logic and remove unused content.
Use separate CMake_TEST_CONTRACT_<project>
variables for each test. Make the set of possible tests match what is in the source tree.
Also de-duplicate some logic and remove unused content.