CMake variables refactoring

Some variables (CF_ENABLE_UNITTEST, CCCC_PROGRAM) have been marked
as ADVANCED.
If BUILD_TESTING is False, unittests (requiring GTest) is not built,
even if CF_ENABLE_UNITTEST is set to True.