Fixes deserialization of bool, float and double nullable types.

Added tests to verify that missing fields in the datastore are deserialized as null for bool?, float? and double?