ConfigValue: use strtol/strtod instead of atoi/atof since they tell us directly if the string was a valid number, we don't have to do our own string parsing to work it out
ConfigValue: also accept 'y'/'yes' as a boolean