Creates get/set methods for the property.
nullobj.defineProperty(name, value);
name (string) - property name
value (any) - default value
// create 'color' property with default value "black".
obj.defineProperty("color", "black");
getProperty, setProperty methods