Protect ourselves from missing gateways on subnets

Avoid throwing errors and entering an infinite update loop when the
gateway_ip for a subnet is not set.

DHC-2124

Change-Id: I983a24c7511d594639054320953080130047bd30
Merge pull request #151 from dhellmann/handle-missing-gateway-ip

Protect ourselves from missing gateways on subnets