Much-improved way of handling "href" and URL templates
See README for updated usage docs