Make all optional fields valid by default
- The model property can be required or optional. If the property is
required, then the validity of the property affects the model validity.
If it is not required, then it doesn't affect the model state.
All required model properties are now NOT valid and NOT set by default.
All optional model properties are now valid and NOT set by default.
Task-number: QTBUG-145231
Pick-to: 6.11
Change-Id: I59ca0f8445917601039de3e70e888d2f1047c430
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>