luci-lib-ip: add link() method to get basic iface info