Allowed validator for integer type

Use 'allowed' field for integer just like for string.
Use 'allowed' field for integer just like for string (Peter Demin).
Peter Demin
Docs updated with 'allow' support for int type
Merge branch 'peterdemin-master'