Get the value of a string config variable.
The string is owned by the variable and should not be freed by the user. The pointer will be valid until the next operation on this config object.
All config files will be looked into, in the order of their defined level. A higher level means a higher priority. The first occurrence of the variable will be returned here.
pointer to the variable's value
the variable's name
0 or an error code