it is safer to not end files with “?>”
3.0 (native) does not need/use patches/
tweak the packaging and fix some errors

(more to do: full licence audit and moving separate files
to debian/copyright; replacement of shipped embedded js
libraries; generate *.min.* files at package build time)