[CMake] Cleanup in plugins - do not expose CMake variables of plugins' dependencies, only variables for plugins itself.
- do not expose CMake variables of plugins' dependencies, provide only variables for plugins itself.
- git plugin relies on external runtime-only dependency, and as long as git is not mentioned as required runtime dep anywhere, git plugin needs to be made optional (same applies to cvs).