[model] fixed getting repository for entity
[entity] fixed uninitialized data array when calling hasValue()
[entity] fixed detection of child property in AnnotationParser
[relationships] at least one entity has to be attached to repository
[relationships] fixed persisting hasOne relationship
[relationships] fixed persisting hasMany relationship
[tests] fixed & updated testing model