parseUrlWithQueryParams

Parse URL-style string with query parameters Returns a Pair of (cleanPath, queryParams)