Feature/staticsite

This contains a bunch of small and large fixes so that "./ferenda-build.py all all --staticsite" actually works and produces a complete offline copy (w/o search field)