[relationships] implemented NULL validation for hasOne [closes #20]
[entity] added new validation for transitive relationships
[tests] fixed transitive relationships
[tests & relationships] fixed not nullable hasOne relationship & remove [refs #20]
[relationships] optimized updateRelationship()
[repository] fixed NULL validation for hasOne relationship [refs #20]