add prefixlen member to getifaddrs tables, add initial constant mapping support, and refactor getifaddrs.lua to behave more like ifconfig(1)