Issue #78: toBoolean(): Treat '1' and '0' as true and false, respectively.