Convert openvzLocateConfFile to a replaceable function pointer to allow testing the config file parsing without rewriting the whole OpenVZ config parsing to a more testable structure.
This testcase passes before the regression is added in f0443765, fails after that commit and passes again after the regression was fixed.