fixed sections in Rmd/html
more QcMetadata handling and metadata section in pdf/tex reports