add support for url name in qbutton: if the string is a name of url, use reverse(url) else, use the url