Add subcommunity support to some core Vanilla modules.

Add some additional filtering options to core Vanilla modules.
This block needs a comment to explain what it's doing (creating an offset to apply to the given category to make it act like the root, or one down from the root).