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

Add a getAllParents() method to get all parents of a category