adding resource-pid and rf-id as class; simplified the input-template (classes generation)
honoring custom styling of source elements, simplified classes generation
facet links need x-format param
search-links in scan-html reflect the nested structure
many small corrections to rendition of tei; added more classes