Fixes memory leak on generic Doctrine Writer

The writer uses now the ProductCacheClearer
Merge branch '1.2' into fix/PIM-3121

Conflicts:
	CHANGELOG.md
Fixes CHANGELOG