luci-base: eliminate use of uci state vars in luci.model.network
luci-base: eliminate use of uci state vars in luci.model.network

Also implement :ipaddrs() and :ip6addrs() helper for network instances.

Signed-off-by: Jo-Philipp Wich <a9275913d515487ffaed469337a530ed202da558@openwrt.org>

lbthomsen/openwrt-luci,tobiaswaldvogel/luci,Noltari/luci,openwrt-es/openwrt-luci,Noltari/luci,Noltari/luci,wongsyrone/luci-1,cshore-firmware/openwrt-luci,chris5560/openwrt-luci,mumuqz/luci,NeoRaider/luci,981213/luci-1,shangjiyu/luci-with-extra,daofeng2015/luci,NeoRaider/luci,artynet/luci,bright-things/ionic-luci,remakeelectric/luci,kuoruan/lede-luci,chris5560/openwrt-luci,cappiewu/luci,cappiewu/luci,981213/luci-1,teslamint/luci,mumuqz/luci,hnyman/luci,jlopenwrtluci/luci,ollie27/openwrt_luci,taiha/luci,shangjiyu/luci-with-extra,rogerpueyo/luci,daofeng2015/luci,jlopenwrtluci/luci,bright-things/ionic-luci,cshore-firmware/openwrt-luci,cappiewu/luci,Noltari/luci,nmav/luci,aa65535/luci,ollie27/openwrt_luci,teslamint/luci,kuoruan/luci,hnyman/luci,mumuqz/luci,cshore/luci,remakeelectric/luci,daofeng2015/luci,remakeelectric/luci,wongsyrone/luci-1,ollie27/openwrt_luci,openwrt/luci,taiha/luci,bittorf/luci,NeoRaider/luci,oneru/luci,aa65535/luci,LuttyYang/luci,aa65535/luci,kuoruan/lede-luci,openwrt-es/openwrt-luci,rogerpueyo/luci,openwrt/luci,Hostle/luci,shangjiyu/luci-with-extra,bittorf/luci,urueedi/luci,Wedmer/luci,bright-things/ionic-luci,urueedi/luci,kuoruan/luci,rogerpueyo/luci,daofeng2015/luci,openwrt/luci,aa65535/luci,rogerpueyo/luci,cshore-firmware/openwrt-luci,urueedi/luci,bright-things/ionic-luci,chris5560/openwrt-luci,chris5560/openwrt-luci,ollie27/openwrt_luci,981213/luci-1,cshore/luci,openwrt/luci,mumuqz/luci,LuttyYang/luci,tobiaswaldvogel/luci,kuoruan/lede-luci,cappiewu/luci,maxrio/luci981213,NeoRaider/luci,bittorf/luci,hnyman/luci,cshore-firmware/openwrt-luci,teslamint/luci,shangjiyu/luci-with-extra,maxrio/luci981213,urueedi/luci,hnyman/luci,cappiewu/luci,cappiewu/luci,artynet/luci,cshore/luci,wongsyrone/luci-1,chris5560/openwrt-luci,tobiaswaldvogel/luci,wongsyrone/luci-1,openwrt-es/openwrt-luci,kuoruan/luci,openwrt/luci,daofeng2015/luci,kuoruan/luci,openwrt/luci,tobiaswaldvogel/luci,artynet/luci,wongsyrone/luci-1,cshore-firmware/openwrt-luci,kuoruan/luci,aa65535/luci,teslamint/luci,remakeelectric/luci,wongsyrone/luci-1,oneru/luci,openwrt-es/openwrt-luci,maxrio/luci981213,981213/luci-1,remakeelectric/luci,maxrio/luci981213,taiha/luci,aa65535/luci,daofeng2015/luci,nmav/luci,lbthomsen/openwrt-luci,kuoruan/lede-luci,lbthomsen/openwrt-luci,kuoruan/luci,cshore/luci,taiha/luci,lbthomsen/openwrt-luci,lbthomsen/openwrt-luci,artynet/luci,mumuqz/luci,LuttyYang/luci,Wedmer/luci,teslamint/luci,rogerpueyo/luci,openwrt/luci,cappiewu/luci,remakeelectric/luci,Hostle/luci,NeoRaider/luci,taiha/luci,maxrio/luci981213,oneru/luci,Hostle/luci,Noltari/luci,artynet/luci,jlopenwrtluci/luci,hnyman/luci,bright-things/ionic-luci,shangjiyu/luci-with-extra,hnyman/luci,oneru/luci,Wedmer/luci,jlopenwrtluci/luci,nmav/luci,Wedmer/luci,artynet/luci,981213/luci-1,urueedi/luci,cshore/luci,shangjiyu/luci-with-extra,LuttyYang/luci,mumuqz/luci,LuttyYang/luci,nmav/luci,remakeelectric/luci,cshore-firmware/openwrt-luci,cshore/luci,LuttyYang/luci,ollie27/openwrt_luci,chris5560/openwrt-luci,hnyman/luci,taiha/luci,lbthomsen/openwrt-luci,mumuqz/luci,openwrt-es/openwrt-luci,kuoruan/luci,maxrio/luci981213,mumuqz/luci,openwrt/luci,tobiaswaldvogel/luci,ollie27/openwrt_luci,rogerpueyo/luci,LuttyYang/luci,openwrt-es/openwrt-luci,nmav/luci,Wedmer/luci,NeoRaider/luci,aa65535/luci,cshore-firmware/openwrt-luci,ollie27/openwrt_luci,NeoRaider/luci,artynet/luci,nmav/luci,jlopenwrtluci/luci,kuoruan/lede-luci,teslamint/luci,kuoruan/lede-luci,nmav/luci,tobiaswaldvogel/luci,bittorf/luci,Hostle/luci,teslamint/luci,Hostle/luci,Noltari/luci,artynet/luci,rogerpueyo/luci,hnyman/luci,chris5560/openwrt-luci,urueedi/luci,chris5560/openwrt-luci,urueedi/luci,jlopenwrtluci/luci,wongsyrone/luci-1,cshore/luci,981213/luci-1,aa65535/luci,nmav/luci,ollie27/openwrt_luci,maxrio/luci981213,kuoruan/lede-luci,Hostle/luci,Wedmer/luci,nmav/luci,teslamint/luci,daofeng2015/luci,cshore/luci,tobiaswaldvogel/luci,Hostle/luci,bright-things/ionic-luci,rogerpueyo/luci,981213/luci-1,maxrio/luci981213,Noltari/luci,NeoRaider/luci,Noltari/luci,lbthomsen/openwrt-luci,Noltari/luci,remakeelectric/luci,cappiewu/luci,oneru/luci,urueedi/luci,oneru/luci,openwrt-es/openwrt-luci,shangjiyu/luci-with-extra,wongsyrone/luci-1,lbthomsen/openwrt-luci,bittorf/luci,taiha/luci,tobiaswaldvogel/luci,kuoruan/lede-luci,cshore-firmware/openwrt-luci,LuttyYang/luci,kuoruan/luci,shangjiyu/luci-with-extra,openwrt-es/openwrt-luci,bittorf/luci,bittorf/luci,jlopenwrtluci/luci,oneru/luci,Wedmer/luci,bright-things/ionic-luci,Hostle/luci,jlopenwrtluci/luci,Wedmer/luci,taiha/luci,bittorf/luci,artynet/luci,bright-things/ionic-luci,oneru/luci,daofeng2015/luci