xbmc.sh: read Release info from os-release
If /etc/os-release exists, read the info from there
instead of relying on lsb_release.

see also commit 7a9aa6f5d9ac8df1c79eb06ed63bce8af162c3ba
xbmc.sh: extract core dump from systemd's journal
On systemd systems, core dumps are - by default - written to systemd's
logging system, the journal. The print_crash_report function only
searches certain directories for the core dump, but would never find
it in the journal, resulting in an empty stack trace in the crash log.
As a workaround, simply extract the last core dump caused by xbmc.bin
to "core" where the single_stacktrace function will find it.
If the system is configured to not dump cores into the journal,
systemd-coredumpctl will simply fail silently.

see also http://www.freedesktop.org/software/systemd/man/systemd-coredumpctl.html
[release] version bump to 13.0 alpha8 as we start new merge window.
Fixed missing error message in debug log, "Unable to load '.so file', reason: (null)"

Error message comes from dlerror() in xbmc/cores/DllLoader/SoLoader.cpp when CAndroidDyload::Open() fails. However, dlerror() is also called inside CAndroidDyload::Open(). This causes the second, outer dlerror() to return NULL, because (from the documentation) "dlerror() returns NULL if no errors have occurred since initialization or since it was last called".
Remove the Xp specific threading code.
Reapply @elupus 's fix to the Condition variable for windows. This also handles the case where the CritSec used for the ConditionVariable is entered more than once; something the native windows calls don't allow.
Remove GetDirectory(..) without return value
ActiveAE: Make ActiveAE default Audio Engine to get it tested
[win32]installer: set app name global
[win32]installer changes: add normal install mode without PVR and touched. Make languages manditory on all install types.
AE: distinguish between AC-3 and EAC-3
ActiveAE: handle setting EAC-3
[osx] talk to SMC to get CPU and GPU temp for System Info page
[osx] display CPU usage % correctly in System Info page
[osx] correctly calculate battery level
[osx] display OSX version, we don't care about kernel version
Merge pull request #3161 from FernetMenta/eac3

AE: distinguish between AC-3 and EAC-3
dvdplayer: Fix m_streaminfo updates from passthrough codec

Use the GetEncodedSampleRate() method instead of GetSampleRate() to
populate m_streaminfo, since the latter returns the passthrough frame
rate which is not relevant in the context of m_streaminfo.

Also, do not overwrite channel count and sample rate with zero after
opening a passthrough codec, instead keep the demuxer values. These are
only used internally for codec selection.

This fixes some unnecessary back-and-forth checking between regular
and passthrough codec when opening a stream due to wrongly detected
sample rate changes in certain situations.
Merge pull request #3139 from garbear/seeing-double

[android] Fixed missing error message in debug log, "Unable to load '.so file', reason: (null)"
[cosmetic] Fix two member function definitions on the same line