PIM-2372: Optimize query to get common attributes in ORM
PIM-2372: Optimize ORM query to get common attributes
PIM-2370: Add php doc to explain SQL query
Merge branch 'master' of github.com:akeneo/pim-community-dev