Fixed a small bug in the value constructor. No longer produces errors
if no type is given. Infers type from the data.
Property.setUnit will give a warning when used on Properties with more
than one value.