sites, pages: refactor parent site from arguments to stored access type
pages: new template command to render an element, falling back on a template
tests/black-box: use the new "render" command