little refactoring
changed visibility of validators and maked them static
fix
refactoring
added "allowEmpty" option for all validators
added "in" validator
added "string" validator