FIX: when configure tries to update the mux lists through git it would cause a fail if anything had been changed in the Data/dvb-scan folder
changed the inital git pull to a git fetch and added git pull after the git reset to make sure they have the latest files
Using new libav CODEC_ID values.

Signed-off-by: Michel Verbraak <info@1st-setup.nl>
Indentation fixes (remoevd hard tabs).
Fixed signal_statetab.
[build] fix configure with komplex enviroments
- add ldflags
- fix multivalued options like --cflags="-m64 -I/include/extra"
[build] add LD flags to print_config
dvr: rewrite to use the idnode system
channel: cleanup the configuration tree

  <cfg>/channel/config
  <cfg>/channel/tag

Also use hts_settings_load() instead hts_settings_load_r() for
the appropriate places..
config migration: check for old filenames in the config dir
config migrate: run check only when version changed
dvr autorec: fix a memory leak