added functionality repositoryTrait to get eloquent models from database dynamically with tests on traitConcrete class