Updates copyres so files are gathered upfront and available in templates as "respaths" and "resfilenames"
Also creates change events for hooks.
Change sitemap to exclude resources (can add via config SITEMAP_RESOURCE_EXT, excluding images/video)