Make property optional only if to-one relationship marked as optional (swift).
Merge pull request #241 from rokgregoric/to-one

[CHANGE] Swift: make property optional only if to-one relationship marked as optional. (Rok Gregorič)