Added property subKindAllowed.
Renamed propertyType to propertyKind.
renderObjWithClass() handles array of scalars.
Renamed uiLink to uiDocId.
renderValue() helper function.