Generate static urls with digest

* introduce a helper method to generate URLs to assets served by static
* generate static URLs with digest if the manifest is available
* in artefact build, retrieve the current digests manifest and use it to create the pages