Support for boolean and null type, refactored DataValue operations.

Also refactored DataType operations into
Null value fixes.
More boolean DataValue fixes.