Networking

Someone should probably read through, @sseago? Let me know if you prefer me to squash first.
I'd add one more validation to prevent duplicate mappings:
validates :layout_id, :uniqueness => {:scope => subnet_type_id}