libiwinfo: reimplement iwinfo.lua in C and package it as "iwinfo"