Add validator.demandType and validator.isOfType
Pull request tweaks
Refactor validator.isOfType, add support for primitives
Remove debbuger call
Drop support for primitives in validator.isOfType / demandType
Add support for anonymous types in validator.isOfType / demandType
Merge pull request #4 from brpvieira/master

Add validator.isOfType and demandType methods