reworked attribute processing
reworked tei:history and children processing
reworked metadata for tei:biblStruct

with and without analytic item
fixed some indentation
reworked lang selection for metadataView vars
corrected and added lang vars