PIM-2420 Agnosticized batch doctrine writers
PIM-2420 Fixed association owner setting

As the association is embedded inside its owner, we need to make sure
that the owner has the association when setting the owner of an
association
Merge pull request #1019 from akeneo/pim-2420

PIM-2420 Agnosticized batch doctrine writers