Add https support in sitemap. Use the right constant in resource domain. Update submodule tpl/3