luci-base: implement luci.model.uci.get_state()
luci-base: implement luci.model.uci.get_state()

Introduce a get_state() function which can be used to access legacy
uci state variables. This is usually not needed anymore but some
packages (mainly mwan3) still rely on this.

Signed-off-by: Jo-Philipp Wich <bd73d35759d75cc215150d1bbc94f1b1078bee01@mein.io>

chris5560/openwrt-luci,chris5560/openwrt-luci,remakeelectric/luci,Noltari/luci,openwrt/luci,rogerpueyo/luci,openwrt-es/openwrt-luci,chris5560/openwrt-luci,chris5560/openwrt-luci,artynet/luci,wongsyrone/luci-1,tobiaswaldvogel/luci,hnyman/luci,artynet/luci,kuoruan/lede-luci,tobiaswaldvogel/luci,openwrt/luci,kuoruan/lede-luci,Noltari/luci,rogerpueyo/luci,remakeelectric/luci,tobiaswaldvogel/luci,kuoruan/luci,artynet/luci,wongsyrone/luci-1,openwrt/luci,Noltari/luci,wongsyrone/luci-1,981213/luci-1,openwrt-es/openwrt-luci,hnyman/luci,artynet/luci,kuoruan/luci,hnyman/luci,remakeelectric/luci,lbthomsen/openwrt-luci,981213/luci-1,chris5560/openwrt-luci,nmav/luci,nmav/luci,Noltari/luci,hnyman/luci,artynet/luci,hnyman/luci,openwrt/luci,openwrt-es/openwrt-luci,nmav/luci,nmav/luci,Noltari/luci,chris5560/openwrt-luci,rogerpueyo/luci,wongsyrone/luci-1,lbthomsen/openwrt-luci,wongsyrone/luci-1,981213/luci-1,kuoruan/lede-luci,rogerpueyo/luci,kuoruan/luci,Noltari/luci,wongsyrone/luci-1,openwrt/luci,rogerpueyo/luci,kuoruan/lede-luci,Noltari/luci,hnyman/luci,chris5560/openwrt-luci,wongsyrone/luci-1,tobiaswaldvogel/luci,hnyman/luci,lbthomsen/openwrt-luci,981213/luci-1,tobiaswaldvogel/luci,nmav/luci,nmav/luci,openwrt/luci,lbthomsen/openwrt-luci,tobiaswaldvogel/luci,openwrt-es/openwrt-luci,tobiaswaldvogel/luci,Noltari/luci,kuoruan/luci,remakeelectric/luci,kuoruan/lede-luci,hnyman/luci,openwrt/luci,rogerpueyo/luci,openwrt/luci,nmav/luci,openwrt-es/openwrt-luci,lbthomsen/openwrt-luci,wongsyrone/luci-1,Noltari/luci,artynet/luci,openwrt-es/openwrt-luci,artynet/luci,artynet/luci,981213/luci-1,artynet/luci,lbthomsen/openwrt-luci,981213/luci-1,openwrt-es/openwrt-luci,kuoruan/lede-luci,kuoruan/lede-luci,remakeelectric/luci,981213/luci-1,lbthomsen/openwrt-luci,rogerpueyo/luci,kuoruan/luci,kuoruan/lede-luci,kuoruan/luci,rogerpueyo/luci,kuoruan/luci,openwrt-es/openwrt-luci,chris5560/openwrt-luci,kuoruan/luci,remakeelectric/luci,nmav/luci,nmav/luci,tobiaswaldvogel/luci,remakeelectric/luci,remakeelectric/luci,lbthomsen/openwrt-luci