Avoid integer and float values false pass 'inList' validation

As PHP prefers to compare integers/floats if one of the arguments have type int/float false positives are very common, like 0 == 'a'. This patch prevents such behavior for `'inList'` validation rule but only for case when validated value have type int/float. It does not process list of allowed values.