add util func to get the url fix #282

UrlFor(endpoint string, values ...string) string