Boolean conversion

Added platform specific conversion form database Boolean type to PHP bool type
Ok just noticed ``'0'`` is probably catched by the parent method doing some type juggling. Since your tests test for it.