Subnet types

This includes two things:
1) replace the initial subnet types list with a fuller list, and related refactoring
2) the first iteration of the NetworkQuery API/helper class for grabbing interfaces, etc for hosts in the context of a particular subnet type.

1) is largely done here; 2) will need more work, but that could be done either as part of this PR, or as a follow-on PR after merging this one, since it's not referenced anywhere yet.
but if we found existing staypuft_typing it should always have subnet assigned, if subnet is not assigned to any subnet type, there's no subnet typing
I was talking about rare case (db inconsistency) when subnet_typing was found but it's subnet_id is nil