add maxItems to isIntList; refactor validators a little