With txns

We need to cache the subnets before the "super(MidonetPluginV2, self).delete_network(context, id)" call. The reason for this is because this call actually deletes the subnets from the neutron database as well, so we won't have that information by the time we get to the "net[ext_net.EXTERNAL]" block.