Add multinetwork functionality

Now allows network domain mapping in addition to the regular site mapping.

/cc @johnjamesjacoby @joehoyle
Not so keen on the filter namespacing just because it's pretty non-standard, IMO. +1 for sticking to wp conventions here