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
Added checkbox to the epggrab dialog to enable 8Hr flush
to disk EPG data on user request via thread
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
serviceprobe: add NULL ptr check on dvb mux to be safe
Fix #1444 - dvr: ensure that DVR entries are not removed when EPG is updated

previously an overlapping (replacement) event could result in the DVR
entry being completely removed. This will now ensure that the original
entry is left in place (with just info and times).

It will also try and re-match with an EPG entry as and when it can.
Fix #1643 - dvb: close dvr device on each re-tune
dvb: fix problems with dvb satconf processing and storage