To-one relationships should be optional in swift.
Merge pull request #238 from rokgregoric/to-one

[FIX] To-one relationships should be optional in swift. (Rok Gregorič)