Sanitize searchtables passed to wsgi scripts

fixes #8202
Adapt documentation to new wsgi scripts
Fix pdflatex-error in documentation (no chapter)