PIM-1362 : fix the history issue on product when we delete a category or a group and
refactor (a bit) the version listener
Merge pull request #397 from akeneo/PIM-1362

[WIP] PIM-1362 : history issue on product when we delete a category or a group