lib,test: improve validateNumber and validators coverage
Adds a min/max predicate to validateNumber (which will be used by the QUIC impl, extracted from that PR) ... and improves test coverage in test-validators.js
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines