vendor: add historic DVB API headers

This is useful for validating new code against older versions (and newer).
zlib: fix error on partial compression of files. Fixes #1902.

This occurs where compressing small, already compressd files, typically images.

I could avoid compression of very small (or already compressed) files. But its
simple to keep things uniform and fixing this makes sense anyway!
linuxdvb:  Typo.  Fixes #1856
Merge pull request #316 from bluzee/master

linuxdvb: fix typo in diseqc toneburst switch setting.  Fixes #1856
mpegts: fix broken input handling for inputs with >1 active services..

This affects IPTV where there is only 1 input, if 2 services have the same PIDs
then both services were receiving each others packets and causing a mess!

I think later on I should really remove the transport list from the input and
have it on the mux? I think I did it this way to keep some things simpler, but
it's caused confusion here.

This should fix #1875.
service_mapper: store config to ensure options are processed

At the moment the configuration is global so starting another mapping will
override existing config.
misc: Consistently use hts_strdupa() instead of libc strdupa() which is Linux specific.
build: Fix compile warning with clang 3.3

src/descrambler/cwc.c:493:11: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
  if (len < 0) return -1;
      ~~~ ^ ~
build: Fix compiler warning and properly cast return value of pthread_self() to long
EN50494: first commit
- works with same hardcoded values (needs to setup)
- setup via gui is missing
EN50494: replace hardcoded en50494 tune-freq with calculated one
install: Properly install manpages in mandir/man1 which also fixes Bug#1064.
build: Hide glibc workarounds in PLATFORM_LINUX because it does only make sense on Linux.
build: Fix clang compiler warning
freebsd: Assume all devices on FreeBSD are USB 2.0 per default because
FreeBSD does not have sysfs to read the device speed and type properly.
The good thing is that there are no PCI devices that support V4L right
now so all supported devices are from webcamd which only supports USB
devices so that default is always correct.
misc: Add ifdefs for linux specific prctl(2)
EN50494: fix subelement creation for multi-port switches
EN50494: fix copy'n'paste misstake
EN50494: configuration storage
- add save configuration
- set default values
- raise variable length to 16bit (needed by configuration save)
EN50494: add gui interface for configuration
- EN50494 configuration
- revert drop off compiler optimation