Add support for new libcec method, PowerOnScreensaver
[win32][added] Hybrid shutdown on Windows 8
fixed, gas-preprocessor MUST see -arch switch or it will not self-configure for the proper arch
updated, gas-preprocessor.pl from https://github.com/mansr/gas-preprocessor
Add missing thread names, improve existing thread names

This extends on the work of PR #2323.

Since thread names are limited to 15 characters, we reduced the length of the name (removing starting C, get rid of spaces, remove trailing Thread, ...) where it made sense.

```
xbmc02:~ # pstree -p 715
xbmc.bin(715)-+-{EPGUpdater}(798)
              |-{EventServer}(790)
              |-{PeripheralBus}(778)
              |-{PeripheralBus}(779)
              |-{PVRAddon}(800)
              |-{PVRAddon}(932)
              |-{PVRGUIInfo}(933)
              |-{PVRManager}(799)
              |-{SoftAE}(777)
              |-{TCPServer}(791)
              |-{XBPython}(783)
              |-{XBPython}(784)
              |-{XBPython}(786)
              |-{XBPython}(787)
              |-{XBPython}(955)
              |-{XBPython}(972)
              `-{xbmc.bin}(792)
```

I would like to see more specific names for XBPython, PeripheralBus and PVRAddon. And also get rid of the remaining xbmc.bin thread name.
Merge pull request #2541 from dagwieers/pthread_setname2

Add missing thread names, improve existing thread names
upnp: fix wrong library paths in container updates
Merge pull request #2012 from jmarcet/master

Add new Built-In function to control attached CEC device
Merge pull request #2578 from a11599/hybridshutdown

[win32][added] Hybrid shutdown on Windows 8
avoid detect folder.jpg under 'add' item.
fixed, a) space monster running wild, b) += monster running wild, c) using -std=gnu99 in platform_cxxflags, d) remove -Wl,-search_paths_first from darwin, no required and spews all over the place
fixed, missed one in previous commit
[WIN32] removed m_AppActive and use SetRenderGui instead.
Merge pull request #2546 from wsoltys/setrendergui

changed: removed m_AppActive in favor of SetRenderGUI()
Merge pull request #2585 from ulion/avoid_detect_folderjpg_under_add_item

avoid detect folder.jpg under 'add' item.
[Fix] PlayerSelectionRule GetPlayers().
This partially reverts commit e575a7f0a47b5578b64b800d09910f260e9b0292
[Cores] Remove redundant predicates in conditions.
Merge pull request #2583 from alcoheca/upnp-fix-paths

upnp: fix wrong library paths in container updates
Merge pull request #2588 from ace20022/fix_PlayerSelectionRule

[Fix] PlayerSelectionRule GetPlayers()
fixed, missing rm