Add subcommunity support to some core Vanilla modules.

Add some additional filtering options to core Vanilla modules.
I agree with @kaecyra about defining variables to `null`.

Purely a style choice in PHP.