[relationships] fixed interface definition
[tests] fixed loading testing model
[entity] enhanced entity annotation cache dependencies
[model] added hasRepository method
[entity] implemented entity metadata validation