[*] Project : ->getAllParents() for a category

Add a getAllParents() method to get all parents of a category
Merge pull request #2129 from iNem0o/patch-4

[*] Core : ->getAllParents() for a category