[pvr] make all livetv views available to the user earlier (as soon as channels are fetched from the backend and before epg is loaded from the db) by changing the pvr/epg manager startup logic
Revert "[epg] fixed - epg load/update was interrupted when the pvr manager imports channels, leading to delays and channel ids gone missing in certain situations"

This reverts commit bdf8842d543fae54067c4dd453bded8474e1044f.

Conflicts:

	xbmc/pvr/PVRManager.h
CSimpleDoubleCache fix.
Adds transcoding of multichannel audio to AC3 for the CoreAudioEngine.

Changes CoreAudioAE::MakeStream to detect if transcoding is possible and needed. The
transcoding state is passed to OpenCoreAudio where is plays a part in
the setup of the object. Mostly, transcode behaves like passthrough
here.

The actual transcoding happens in CoreAudioAEStream, were an
AEEncoderFFmpeg is instantiated and used if transcosing is called for.

The trickiest bit is the addition of a buffer for incoming audio that
needs to be encoded. The encoder needs to work in specific block sizes,
and the incoming stream is not always handed to us in appropriate chunks
so we need to buffer it up so we can process it. This required a little
fiddling with the delays to make sure sync was kept tight.
[rbp/omxplayer] Go directly from executing to idle in OMX_Clock

OMX spec says there's no need to go through pause state
[rbp/omxplayer] Improve the player diagnostics overlay
[rbp/omxplayer] Increase audio buffering to gpu

When the arm is busy the gpu fifo can underrun, especially when audio codec uses short duration packets (like DTS)
Also increasing the packet size makes better utilisation of the audio queue inside the GPU
[rbp/omxplayer] Handle the case where EOS message fails.

When GPU fifo is full, the attempt to send the eos message may timeout. Increase the timeout and if that still fails then consider the stream to have ended.
[rbp/omxplayer] Enable zoom and pixel ratio in video OSD
add some extra, commonly used, aspect flags for skins
[win32] Util::GetHomePath: workaround for windows overestimate buffer size
[win32] Util::GetHomePath: fix compiler warning
[win32] Put 'XBMC_HOME' to the project for easy build and run
configure: add initial support for CC_FOR_BUILD, CXX_FOR_BUILD, CFLAGS_FOR_BUILD, CXXFLAGS_FOR_BUILD, LDFLAGS_FOR_BUILD
configure/depends: rename 'USE_TEXTUREPACKER_NATIVE_ROOT' to 'NATIVE_ROOT' for general usage to use with other hostbuilt tools. Add $NATIVE_ROOT/lib to LDFLAGS_FOR_BUILD and $NATIVE_ROOT/include to CFLAGS_FOR_BUILD and CXXFLAGS_FOR_BUILD
libsquish: rework to support native builds with *_FOR_BUILD
Texturepacker: rework to support native builds with *_FOR_BUILD, Texturepacker builds always against libsquish-native.so, which is ok because CXX_FOR_BUILD=CXX, CXXFLAGS_FOR_BUILD=CXXFLAGS and LDFLAGS_FOR_BUILD=LDFLAGS on non crosscompiled builds, sothere libsquish-native is the same like libsquish
configure: cleanup, we dont need 'use_texturepacker_native' anymore and dont need to force 'use_texturepacker' (its enabled by default).
removed the emu_socket directory and files as its not in use for windows and I doubt that for other platforms as well.
[win32] Util::GetHomePath: expand relative path only when needed (one time at XBMC run)