Put the global config object as an implicit parameter for the templates.
Next step: do lookup of URLs through a global route registry.
Move the urlFor registry to the injected global config