PIM-1771 : move FlexibleEntityRepositoryInterface from Doctrine to Model
PIM-1771 : move ProductRepositoryInterface from doctrine to model
PIM-1771 : add findOneByEntityAndCode in AttributeRepository and update
unit tests