[pvr.tvh] combine all settings in a struct which is then passed to CTvheadend
and CHTSPConnection. This way these classes don't need to bother with
locking the global mutex (which wasn't always done anyway) just to read a
setting.
[pvr.tvh] wait when receiving synchronous EPG events
[pvr.tvh] CCondition::Wait expects timeout to be in milliseconds, which means
we've always waited a ridiculously short time for registration to happen
[pvr.tvh] use connect and response timeout in a couple of places with
previously hardcoded values