CLOUDSTACK-2378:  assignToGSLBRule or removeFromGlobalLoadBalancerRule APIs are failing when there are multiple physical network in a zone

adding support for deployments where multiple physical networks are configured for guest traffic in a zone
CLOUDSTACK-2544: Fix NPE while comparing lastHostId during capacity calculation