Swap the relationship between Vrfs and Networks

Before this commit, the Network model had a one-to-many relationship
with the Vrf model. This commit swaps the direction of the relationship.
Add schema migrations
Fix migrations after Vrf-Network relationship flip
Fix some recently broken functions