luci2: add L.toColor(), L.parseIPv4(), L.parseIPv6() and L.isNetmask() helper