fixed integration tests - only using relationship service to count relations if the instance is already saved
Merge branch 'develop' of github.com:MetadataRegistry/ModelCataloguePlugin into develop