Fix: scheduler: constrain resource priorities and node-health-base to score range
Previously, any integer was allowed for resource priorities and
node-health-base. However, they are sometimes used when calculating scores, so
it makes sense to constrain them to +/-INFINITY.
This uses char2score(), which also means they now accept the strings
"INFINITY", "+INFINITY", "-INFINITY", "red", "yellow", and "green".