support: updated some random helper scripts
mpegts: ensure that PCR (and PMT) are properly opened by service and recorded.

Fixes #1884.
main: provide option to make daemon dumpable
mepgts: correct invalid interpretation of service type in VCT. Fixes #1857.
mpegts: ensure init scan completes properly

I was not properly checking completion on table completion and CAT processing
was not marking that table as complete (ever).
http htsp: fix status handling. Race condition caused NULL ptr exception. Fixes #1898.
Merge branch 'master' of github.com:tvheadend/tvheadend