Making UrlHelper's methods virtual

/cc: @rynowak @yishaigalatzer 
more var