pvr.njoy: avoid crashing xbmc if we get not xml response from webserver
fixed crash, deleting is not enough, you need to null the var too
pvr.hts/HTSPDemux.cpp: initialize variables in CHTSPDemux::GetStreamProperties.

Fixes omxplayer refusing to play the first audiostream in an demuxstream on the raspberry.
Merge pull request #31 from mlichter/devel

pvr.hts/HTSPDemux.cpp: initialize variables in CHTSPDemux::GetStreamProp...
pvr.hts: check for max stream before writing to buffer
pvr.hts: avoid potential division by zero if tvheadend gave zero aspect_den
pvr.hts: there is always a CHTSPConnection in CHTSPDemux

It is created in constructor
pvr.hts: fixed compile error due to lazyness of not doing a compile
sync copyright notices
sync interface
[njoy] updated so it doesn't use curl anymore, but XBMC's CFile operations
[vnsi] dropped -ldl
moved os-dependent.h defs to lib/platform
[hts] accidently checked in a debugging line in 2070cefe165aa375cedfd851385f4b2d7873ff74
sync with atomics from XBMC
sync
libhts: fix Windows compilation after removal of htsatomic
platform: reorder platform dependent definitions and document the Wchar_t stuff
MediaPortal pvr addon: fix Windows compilation
Broken after 60087c61410f176137870bc66736cb175cfb61a5
ForTheRecord pvr addon: simplify the cross platform handling of the tsbuffer file parsing
This fixes the Windows compilation
Futhermore, these changes reduce the differces between the ForTheRecord TSReader and the MediaPortal TSReader code