get_config(): return a single value instead of a record when called with 2 params
get_config(): return a single value instead of a record when called with 2 params

get_config() was meant to return a single value when called with 2 params,
however, it never did. Change it to Do The Right Thing, and audit all callers.

dilawar/moodle