add boolean validator
Merge pull request #52 from ryfow/boolean-validator

add boolean validator