update to the neighbors plugin to retrieve neighbors for categories and subcategories

All there in the title.

The subcategory features are based on an updated version of the subcategory, as mentioned in my comment on #133.