Conversion from null and to bool

`null` is now correctly converted to primitive types (numerics, bool, string).
General support for the conversion to boolean values.

Fixes one of the two issues of #269