frontend: add new template macro owner_url
This simplifies and de-duplicates the repo_file_href and copr_url
macros. Note that for /repo/ routes we can not use copr_url, because
that is adding unwanted `coprname=` argument, which is not accepted by
that particular route and leads to additional query string.