tsfile: fix bug in packet reception spotted by _Dweller.
mpegts: fix processing errors when <188 bytes is received

Also fix raw streaming where data is not %188, previously the code would have
sent duplicate bytes which would have caused (unecessary) errors downstream.
Ensure PCR PID is passed to the passthrough muxer when it is not the same as a content PID
* do red-black tree search for language code lookups
Restore original duplicate check and include title in extended check.
Make episode duplicate detection configurable.
idnode: temporary workaround for the static string comparison issue
started work on better setup for input/hardware etc...
linuxdvb: started updating to the new hardware API

I actually had this basically working, but then barrelled on with changing
satconf further, without committing anything (got back into old SVN bad habits)
so what's here is a bit of a half finsihed mess
linuxdvb: WIP - comitting before I lose it!
linuxdvb: fix configuration processing
linuxdvb: fix stupid ptr indirection mistakes in satconf_ele
linuxdvb: fix typo
linuxdvb: add support for advanced satconfs back in
api webui: remove all references to the old satconf grid
linuxdvb: various fixes and simplifications to the satconfig

it's now possible to change hte number of satconfs in advanced mode,
however at the moment the only way to delete something is by reducing the
number of orbital positions and this will always delete the last element.

Not ideal and I'm sure people will complain, but i can't be assed to add
the delete button (at the moment)!
linuxdvb: fix port configuration for 2/4 port special modes

Soem truely horrible code in here now, oh well, that's DVB-S for you!
mpegts: fix printing bug and change potentially confusing var name.
capmt: correct stupid mistake added during satconf re-arrangement
capmt linuxdvb: some minor tweaks to ensure only necessary are enabled

Only adapters that have active frontends will be enabled in capmt. In
addition to this I've also fixed code so it will actually honour the port
configuration (which was being ignored in OSCAM mode).