luci-base: add L.media() URL construction helper