Update the validator.js and modify some test data

1.Update the validator.js according to the review comments
2.Remove the rangeOverflow, rangeUnderflow and stepMismatch tests of the input element in range status
3.Update some description of the tests
4.Remove the tests of badInput

Signed-off-by: xiaojunwu <xiaojunx.a.wu@intel.com>