Allow to store templates in a subdirectory of a tenant directory

For example use MULTITENANT_TEMPLATE_DIRS =
('/var/lib/tenants/%s/templates/',) instead of just
('/var/lib/tenants/templates/',).