Refactor "conf_schema.h" to fix compile warnings

In STRUCT() and ARRAY() declarations, change the optional "validator"
arg from taking a bare function name to enclose the function name in
VALIDATOR(function)
Refactor to fix some OS-X compile warnings

Fixes two minor bugs that escaped notice until now