Fix race conditions in _epggrab_ota_finished() and epggrab_mux_next()
Adding initial code for periodic saving of epgdb to disk
Add flush command to simplewebui to trigger a write to disk of the epgdb
Add /epgsave to the webui so you can trigger a write of the epgdb
to disk to help debugging, etc
Swap the order of the PAT and PMT packets injected by the passthrough muxer - it is more logical to write the PAT first, followed by the PMT, as that is the order parsers will need to process the packets.
timeshift: minor mod to htsp to flush output buffer on skip
time: hide some debug messages to limit spamming logs
Added checkbox to the epggrab dialog to enable 8Hr flush
to disk EPG data on user request via thread
timeshift: add return to live function to HTSP
Changed gui parameter to take a numeric value which is the
number of hours to write data to disk
allow build path spaces in support scripts

- allow build path spaces in configure & support scripts
- use the same die function for all scripts
error check argument passed into epgdump
use http for cloning dtv-scan-tables git repo

 - this allows ./configure to not hang when ran behind a firewall
insert chapters when packets are marked as containing commercials
xmltv: fixed parsing of star-rating
Merge remote-tracking branch 'origin/pr/257'
Merge remote-tracking branch 'origin/pr/258'
epgdb: some simplifications and corrections to the epg periodic save

saving is now done from the gtimer system since a global lock is
required to be able to edit the EPG data.

I've also added missing global lock processing elsewhere.
Merge remote-tracking branch 'origin/pr/152'
cwc: cryptoworks - remove double malloc in the emm code