Added boolean type to database dialects.
Merge pull request #816 from lantian/master

Database dialects: added boolean type