Add maxProperties and minPropteries validators.

Also make an unrelated improvement to the comment on SchemaSetter.