Boolean conversion

Added platform specific conversion form database Boolean type to PHP bool type
I think ``'0'`` is missing