Making UrlHelper's methods virtual

/cc: @rynowak @yishaigalatzer 
needs docs