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.
SUre -- well we can say "it should not happen on a clean install" -- it may well happen when you re-run "rake db:seed" after code changes, but that should, in theory, only happen in dev and testing, where the warnings can be ignored.