Return GWG IP protocol (version) when no gateway IP
Return GWG IP protocol (version) when no gateway IP

This is a resubmit of an older pull request I had closed. It came up again in the forum, with a user setting up a VM environment and wondering why he cannot make policy-routing rules to a gateway group. The gateway group names did not display because all his WANs were down at the time and so the existing code was too dumb to determine the IP protocol (version 4 or 6) when none of the WANs in the gateway group actually have an IP address yet.
ptorsten/pfsense,jxmx/pfsense,phil-davis/pfsense,dennypage/pfsense,pfsense/pfsense,phil-davis/pfsense,ptorsten/pfsense,dennypage/pfsense,brunostein/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,pfsense/pfsense,dennypage/pfsense,brunostein/pfsense,ch1c4um/pfsense,NOYB/pfsense,NOYB/pfsense,BlackstarGroup/pfsense,ch1c4um/pfsense,pfsense/pfsense,NewEraCracker/pfsense,NewEraCracker/pfsense,phil-davis/pfsense,NOYB/pfsense,pfsense/pfsense,BlackstarGroup/pfsense,NewEraCracker/pfsense,ch1c4um/pfsense,brunostein/pfsense,jxmx/pfsense,phil-davis/pfsense,jxmx/pfsense,dennypage/pfsense,ptorsten/pfsense