luci-base: add urldecode() and urlencode() C implementations