IDE-1137

remains the old version's getCategories method and let it called by the getPortletCategories and getEntryCategories methods.