compat: Add CompatUtility::GetCustomVariableConfig().
ido: Add host/service customvariables.

refs #4378