Make numItems work more like isOptional validator and perform actual checks
inside the isHash / isArray validator.
Move 'typeOf' function to util module.
Throw is a value passed to numItems is not an object or an array.
Bump version.
Merge pull request #32 from racker/change_numItems_validator

Make numItems work more like isOptional validator