Moved the no-warning-as-errors for the cmake check c files into the ert_check.cmake file
Reintroduced enkf_main_invalidate_cache as a commented out function, so that if it is actually used, and someone gets into trouble, it is easier for them to find it.