luci-lib-ip: accept 2nd netmask argument in new(), IPv4() and IPv6()
luci-lib-ip: accept 2nd netmask argument in new(), IPv4() and IPv6()

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

wongsyrone/luci-1,openwrt-es/openwrt-luci,oyido/luci,kuoruan/luci,bittorf/luci,lbthomsen/openwrt-luci,jchuang1977/luci-1,david-xiao/luci,ReclaimYourPrivacy/cloak-luci,florian-shellfire/luci,tobiaswaldvogel/luci,nmav/luci,schidler/ionic-luci,openwrt/luci,ReclaimYourPrivacy/cloak-luci,oneru/luci,Sakura-Winkey/LuCI,NeoRaider/luci,thess/OpenWrt-luci,Hostle/openwrt-luci-multi-user,oyido/luci,tcatm/luci,Sakura-Winkey/LuCI,bittorf/luci,tobiaswaldvogel/luci,hnyman/luci,cshore-firmware/openwrt-luci,LazyZhu/openwrt-luci-trunk-mod,joaofvieira/luci,lcf258/openwrtcn,NeoRaider/luci,taiha/luci,shangjiyu/luci-with-extra,bittorf/luci,sujeet14108/luci,Hostle/openwrt-luci-multi-user,sujeet14108/luci,thess/OpenWrt-luci,rogerpueyo/luci,RedSnake64/openwrt-luci-packages,forward619/luci,dwmw2/luci,nwf/openwrt-luci,Sakura-Winkey/LuCI,oyido/luci,tobiaswaldvogel/luci,bright-things/ionic-luci,lbthomsen/openwrt-luci,joaofvieira/luci,shangjiyu/luci-with-extra,RuiChen1113/luci,david-xiao/luci,fkooman/luci,teslamint/luci,urueedi/luci,maxrio/luci981213,LuttyYang/luci,aa65535/luci,oneru/luci,LuttyYang/luci,Hostle/openwrt-luci-multi-user,obsy/luci,marcel-sch/luci,mumuqz/luci,bright-things/ionic-luci,artynet/luci,jorgifumi/luci,kuoruan/luci,ollie27/openwrt_luci,Wedmer/luci,Wedmer/luci,marcel-sch/luci,deepak78/new-luci,nmav/luci,lbthomsen/openwrt-luci,kuoruan/lede-luci,cshore-firmware/openwrt-luci,LuttyYang/luci,teslamint/luci,tcatm/luci,aa65535/luci,NeoRaider/luci,RuiChen1113/luci,remakeelectric/luci,marcel-sch/luci,marcel-sch/luci,ff94315/luci-1,wongsyrone/luci-1,kuoruan/lede-luci,david-xiao/luci,thesabbir/luci,tobiaswaldvogel/luci,cappiewu/luci,chris5560/openwrt-luci,Sakura-Winkey/LuCI,artynet/luci,joaofvieira/luci,RuiChen1113/luci,Wedmer/luci,urueedi/luci,schidler/ionic-luci,artynet/luci,artynet/luci,obsy/luci,nmav/luci,fkooman/luci,urueedi/luci,kuoruan/lede-luci,lcf258/openwrtcn,cshore/luci,cshore-firmware/openwrt-luci,ReclaimYourPrivacy/cloak-luci,cshore-firmware/openwrt-luci,981213/luci-1,david-xiao/luci,chris5560/openwrt-luci,LuttyYang/luci,fkooman/luci,RuiChen1113/luci,kuoruan/luci,maxrio/luci981213,artynet/luci,openwrt-es/openwrt-luci,slayerrensky/luci,tobiaswaldvogel/luci,aa65535/luci,taiha/luci,remakeelectric/luci,obsy/luci,zhaoxx063/luci,981213/luci-1,slayerrensky/luci,jorgifumi/luci,dwmw2/luci,LazyZhu/openwrt-luci-trunk-mod,981213/luci-1,obsy/luci,marcel-sch/luci,thesabbir/luci,ff94315/luci-1,NeoRaider/luci,taiha/luci,tcatm/luci,cappiewu/luci,Hostle/luci,jlopenwrtluci/luci,florian-shellfire/luci,jorgifumi/luci,MinFu/luci,aa65535/luci,db260179/openwrt-bpi-r1-luci,rogerpueyo/luci,ReclaimYourPrivacy/cloak-luci,tcatm/luci,ff94315/luci-1,slayerrensky/luci,thess/OpenWrt-luci,obsy/luci,forward619/luci,kuoruan/luci,zhaoxx063/luci,hnyman/luci,Hostle/openwrt-luci-multi-user,jchuang1977/luci-1,db260179/openwrt-bpi-r1-luci,teslamint/luci,male-puppies/luci,Hostle/openwrt-luci-multi-user,openwrt-es/openwrt-luci,LazyZhu/openwrt-luci-trunk-mod,jorgifumi/luci,teslamint/luci,remakeelectric/luci,wongsyrone/luci-1,schidler/ionic-luci,Hostle/luci,thesabbir/luci,oyido/luci,RuiChen1113/luci,openwrt/luci,slayerrensky/luci,fkooman/luci,nmav/luci,openwrt-es/openwrt-luci,lbthomsen/openwrt-luci,artynet/luci,db260179/openwrt-bpi-r1-luci,thesabbir/luci,RedSnake64/openwrt-luci-packages,oyido/luci,openwrt-es/openwrt-luci,jchuang1977/luci-1,zhaoxx063/luci,oyido/luci,Sakura-Winkey/LuCI,Hostle/luci,maxrio/luci981213,kuoruan/lede-luci,schidler/ionic-luci,urueedi/luci,cappiewu/luci,Wedmer/luci,tobiaswaldvogel/luci,ReclaimYourPrivacy/cloak-luci,shangjiyu/luci-with-extra,Noltari/luci,schidler/ionic-luci,kuoruan/luci,nmav/luci,db260179/openwrt-bpi-r1-luci,Noltari/luci,dwmw2/luci,kuoruan/lede-luci,thesabbir/luci,schidler/ionic-luci,cshore/luci,Hostle/luci,remakeelectric/luci,nwf/openwrt-luci,cshore-firmware/openwrt-luci,mumuqz/luci,oneru/luci,MinFu/luci,openwrt/luci,sujeet14108/luci,Noltari/luci,RedSnake64/openwrt-luci-packages,david-xiao/luci,bittorf/luci,nmav/luci,nwf/openwrt-luci,Hostle/openwrt-luci-multi-user,maxrio/luci981213,Sakura-Winkey/LuCI,cappiewu/luci,taiha/luci,LuttyYang/luci,LuttyYang/luci,mumuqz/luci,lcf258/openwrtcn,lcf258/openwrtcn,bittorf/luci,kuoruan/luci,marcel-sch/luci,openwrt-es/openwrt-luci,joaofvieira/luci,jorgifumi/luci,LazyZhu/openwrt-luci-trunk-mod,mumuqz/luci,cshore/luci,Noltari/luci,daofeng2015/luci,Hostle/luci,RedSnake64/openwrt-luci-packages,lbthomsen/openwrt-luci,openwrt/luci,forward619/luci,openwrt-es/openwrt-luci,Wedmer/luci,cshore/luci,db260179/openwrt-bpi-r1-luci,mumuqz/luci,kuoruan/luci,ollie27/openwrt_luci,ollie27/openwrt_luci,nmav/luci,zhaoxx063/luci,thesabbir/luci,bright-things/ionic-luci,slayerrensky/luci,MinFu/luci,hnyman/luci,tcatm/luci,oneru/luci,thess/OpenWrt-luci,obsy/luci,joaofvieira/luci,oyido/luci,deepak78/new-luci,wongsyrone/luci-1,cshore/luci,Hostle/luci,jlopenwrtluci/luci,wongsyrone/luci-1,nwf/openwrt-luci,cshore-firmware/openwrt-luci,openwrt/luci,urueedi/luci,cshore/luci,Sakura-Winkey/LuCI,NeoRaider/luci,hnyman/luci,oneru/luci,cshore/luci,tcatm/luci,florian-shellfire/luci,Hostle/luci,oyido/luci,remakeelectric/luci,urueedi/luci,slayerrensky/luci,sujeet14108/luci,shangjiyu/luci-with-extra,teslamint/luci,chris5560/openwrt-luci,cshore-firmware/openwrt-luci,RuiChen1113/luci,RedSnake64/openwrt-luci-packages,bright-things/ionic-luci,MinFu/luci,ollie27/openwrt_luci,RedSnake64/openwrt-luci-packages,cappiewu/luci,rogerpueyo/luci,taiha/luci,openwrt/luci,daofeng2015/luci,aa65535/luci,bittorf/luci,remakeelectric/luci,bright-things/ionic-luci,db260179/openwrt-bpi-r1-luci,male-puppies/luci,florian-shellfire/luci,dwmw2/luci,jchuang1977/luci-1,lcf258/openwrtcn,MinFu/luci,daofeng2015/luci,male-puppies/luci,Sakura-Winkey/LuCI,obsy/luci,marcel-sch/luci,jlopenwrtluci/luci,shangjiyu/luci-with-extra,lbthomsen/openwrt-luci,kuoruan/luci,shangjiyu/luci-with-extra,ff94315/luci-1,jlopenwrtluci/luci,taiha/luci,Wedmer/luci,thess/OpenWrt-luci,joaofvieira/luci,thess/OpenWrt-luci,tcatm/luci,artynet/luci,shangjiyu/luci-with-extra,981213/luci-1,Hostle/luci,nmav/luci,wongsyrone/luci-1,RuiChen1113/luci,cappiewu/luci,chris5560/openwrt-luci,lcf258/openwrtcn,nwf/openwrt-luci,taiha/luci,dwmw2/luci,david-xiao/luci,male-puppies/luci,ReclaimYourPrivacy/cloak-luci,deepak78/new-luci,jorgifumi/luci,981213/luci-1,jlopenwrtluci/luci,rogerpueyo/luci,ff94315/luci-1,maxrio/luci981213,chris5560/openwrt-luci,NeoRaider/luci,maxrio/luci981213,dwmw2/luci,bittorf/luci,florian-shellfire/luci,openwrt/luci,aa65535/luci,thesabbir/luci,hnyman/luci,chris5560/openwrt-luci,artynet/luci,MinFu/luci,kuoruan/lede-luci,jorgifumi/luci,teslamint/luci,fkooman/luci,zhaoxx063/luci,zhaoxx063/luci,lcf258/openwrtcn,david-xiao/luci,taiha/luci,oneru/luci,MinFu/luci,oneru/luci,lcf258/openwrtcn,chris5560/openwrt-luci,urueedi/luci,male-puppies/luci,NeoRaider/luci,981213/luci-1,zhaoxx063/luci,nwf/openwrt-luci,jchuang1977/luci-1,MinFu/luci,LazyZhu/openwrt-luci-trunk-mod,joaofvieira/luci,ff94315/luci-1,mumuqz/luci,forward619/luci,daofeng2015/luci,Wedmer/luci,male-puppies/luci,teslamint/luci,hnyman/luci,thess/OpenWrt-luci,schidler/ionic-luci,wongsyrone/luci-1,daofeng2015/luci,deepak78/new-luci,LazyZhu/openwrt-luci-trunk-mod,cappiewu/luci,daofeng2015/luci,nwf/openwrt-luci,forward619/luci,dwmw2/luci,florian-shellfire/luci,Noltari/luci,nwf/openwrt-luci,slayerrensky/luci,deepak78/new-luci,florian-shellfire/luci,zhaoxx063/luci,maxrio/luci981213,jlopenwrtluci/luci,chris5560/openwrt-luci,jlopenwrtluci/luci,lbthomsen/openwrt-luci,nmav/luci,openwrt-es/openwrt-luci,sujeet14108/luci,fkooman/luci,rogerpueyo/luci,daofeng2015/luci,teslamint/luci,lcf258/openwrtcn,ff94315/luci-1,aa65535/luci,ollie27/openwrt_luci,bright-things/ionic-luci,male-puppies/luci,NeoRaider/luci,ff94315/luci-1,thess/OpenWrt-luci,ReclaimYourPrivacy/cloak-luci,bright-things/ionic-luci,Hostle/openwrt-luci-multi-user,joaofvieira/luci,jchuang1977/luci-1,sujeet14108/luci,kuoruan/lede-luci,shangjiyu/luci-with-extra,LazyZhu/openwrt-luci-trunk-mod,male-puppies/luci,maxrio/luci981213,rogerpueyo/luci,rogerpueyo/luci,Noltari/luci,ollie27/openwrt_luci,LuttyYang/luci,bright-things/ionic-luci,mumuqz/luci,Hostle/openwrt-luci-multi-user,hnyman/luci,LazyZhu/openwrt-luci-trunk-mod,Noltari/luci,cappiewu/luci,cshore-firmware/openwrt-luci,schidler/ionic-luci,artynet/luci,db260179/openwrt-bpi-r1-luci,tobiaswaldvogel/luci,mumuqz/luci,obsy/luci,rogerpueyo/luci,lbthomsen/openwrt-luci,slayerrensky/luci,jchuang1977/luci-1,LuttyYang/luci,kuoruan/lede-luci,david-xiao/luci,Noltari/luci,forward619/luci,jchuang1977/luci-1,forward619/luci,dwmw2/luci,lcf258/openwrtcn,bittorf/luci,Noltari/luci,openwrt/luci,fkooman/luci,wongsyrone/luci-1,ReclaimYourPrivacy/cloak-luci,remakeelectric/luci,florian-shellfire/luci,981213/luci-1,tobiaswaldvogel/luci,remakeelectric/luci,jorgifumi/luci,urueedi/luci,RuiChen1113/luci,oneru/luci,cshore/luci,thesabbir/luci,daofeng2015/luci,jlopenwrtluci/luci,forward619/luci,marcel-sch/luci,deepak78/new-luci,aa65535/luci,ollie27/openwrt_luci,deepak78/new-luci,deepak78/new-luci,tcatm/luci,RedSnake64/openwrt-luci-packages,fkooman/luci,ollie27/openwrt_luci,Wedmer/luci,hnyman/luci,sujeet14108/luci,db260179/openwrt-bpi-r1-luci,sujeet14108/luci