New function "original_url" (moved from an addon) that follows all redirects to the original url.