Sanitize searchtables passed to wsgi scripts

fixes #8202
Adapt documentation to new wsgi scripts
Fix pdflatex-error in documentation (no chapter)
Merge pull request #42 from giohappy/master

make themeSwitcher template a global option
Merge pull request #43 from bstroebl/fix#8202

Sanitize searchtables passed to wsgi scripts
fixed typo in themeSwitcherTemplate variable
Added the ability to define tooltip templates based on layer fields. If aa layer field named "tooltip" is found it will take precedence over tooltip templates (i.e. same behaviour as before)
Merge branch 'master' of github.com:qgis/qgis-web-client

Conflicts:
	site/js/GlobalOptions.js.templ-4326
	site/js/GlobalOptions.js.templ-900913