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