Add ``url`` function for combining url parts and params into a single url.