Completed support for boolean type (issue #6 resolved), parser bugfixes