added a method for obtaining all the ancestors of a category
added a method for obtaining the abstract ancestors of a type category