[WIP] PIM-1718 : remove flexible entity config and use doctrine meta

Bug fix: [yes|no]
Feature addition: [yes|no]
Backwards compatibility break: [yes|no]
Unit test passes: [yes|no]
Behat scenarios passes: [yes|no]
Checkstyle issues: [yes|no]*
ChangeLog updated: [yes|no]
Documentation PR: [link to the documentation PR if there is one]
Fixes the following jira: PIM-1718