Add multinetwork functionality

Now allows network domain mapping in addition to the regular site mapping.

/cc @johnjamesjacoby @joehoyle
It's a nicer way of having a hierarchical filter naming, and it's a bit more consistent than things like `current_theme_supports-$feature`, since it doesn't mix `_` and `-` for separators.