build: make bootstrap script fail properly on failure

If the first command in the bootstrap script fails, exit with non-zero
exit status instead of silently continuing to the next command.
[tvshows] don't set scraper if we find a tvshow.nfo file.
check mime type of internet streams. allows hls playlists without m3u8 extension to be played
Fix webserver memory leak

If the webserver is passed an If-Modified-Since value, which indicates
the
client has the current file, there is nothing to send, the code leaked a
context object.

To fix this I've converted a couple of items to smart ptrs.

The context is now an auto_ptr, and if it's used with the mhd callback
we can pass ownership by using release, otherwise it'll get destroyed on
exit of the function.

Also in the context, the CFile object is now a shared_ptr<CFile>, note
that the Close call is carried out in the CFile destructor.

This should make sure that appropriate cleanup occurs as things go out
of scope, without needing to have all the right deletes in the right
places.

In the free callback move the delete before the trace line, so that we
can be sure everything has been closed and freed when that trace line
occurs.
FIX: do not popup OSD on DVD menu with touch or mouse
FIX: [droid] enable compilation with NDK >= 9b
Startup log: fix POSIX/LINUX, better report FFMpeg, cosmetics
Startup log: Split long log string, add special version build information
[win32] SysInfo: implement and use sysGetVersionExWByRef() to overcome Win8.1 limitation on getting real Windows version
SysInfo: add GetKernelName() function for all platforms
SysInfo: rename GetKernelVersion -> GetOsNameWithVersionInfo
SysInfo: add GetKernelVersionFull() and GetKernelVersion() functions for all platforms
[omxplayer] Avoid hang when closing stream with clock stopped

Avoids a permanent hang at EOF when using IPTV streams
[linux] SystemInfo.cpp: add local static helpers getValueFromOs_release() and getValueFromLsb_release()
SysInfo: add GetOsName() function for all platforms
SysInfo: add GetOsVersion() function for all platforms
SysInfo: add GetOsPrettyNameWithVersion() function for all platforms
Update hooks for TvTunes
added missing break statement to the message handler which might lead to unexpected behavior when adding further messags
[playlist] ensure shuffle/repeat status is set after settings load