implement bool type
boolean-support: fix bug and add test
Merge pull request #34 from pointhi/master

implement bool type