Rework BOARD_EGL_NEEDS_LEGACY_FB implementation

The problem with the window format boils down to a circular
dependency that makes service startup hang, so skip a round of
queues-to-window-composer to avoid it but keep using regular
Surface objects as windows, instead of replacing them with
native windows.

Change-Id: I6fed0fe04928df370c298c68ac1eb6d5b5cfb214

Patchset 1
http://review.cyanogenmod.org/#/c/46645/
surfaceflinger: Don't take screenshots with legacy FB

On exynos, it makes the libMali crash, so we disable it for now.
It introduces small graphical glitches, but at least it doesn't
crash all the time.

Change-Id: I7db955e2cdd120018e349c14290e975788e70ed3

Patchset 2
http://review.cyanogenmod.org/#/c/46246/
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_frameworks_native into cm-10.2
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_frameworks_native into cm-10.2
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_frameworks_native into cm-10.2
Revert "surfaceflinger: Don't take screenshots with legacy FB"

This reverts commit 245d3817b1979a44d53e67809b48d095ea6f43cc.
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_frameworks_native into cm-10.2
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_frameworks_native into cm-10.2
Frameworks_native: TRDS 2.0 (2/3)

After testing with huge success we discovered here
and there small problems (like NFC beam animation is broken,
TRDS was disabled on cardock etc) which mainly was caused
due that we used the already from AOSP introduced uiModes
qualifier which could cause in special conditions this
conflicts. Beside that we want a bit more flexibility.
Result: This commit introduces the inverted qualifier as
complete own qualifier undependent of the already AOSP
used ones.

Beside that it fixes all known issues......features:

- it is now completly working over the AOSP Configuration classes
  Means every app get notice of a change trough onConfiguratioChange
  and restarts it's activity if change was detected.
- app can disable that like some other configuration values
  over AndroidMainfest.xml
- beside "inverted" folder another "notinverted" folder is introduced
  for another themeing (eg white)
- qualifier order is direct before the official uiMode qualifiers
  (see AOSP docs)
- All usual Configuration actions can be used with the inverted
  qualifiers....like BroadcastChange, direct read out from every
  app etc. etc. Note: Only system can change the uiInvertedMode

So as you see a real own qualifier now

NOTE: Apktool as well aapt need to be changed to fit the "new
qualifier"....which means that we need to recompile our gapps
that they react as well on this new behaviour. Think we will get them ready
next 2 or 3 days.

Change-Id: Ic538219fe86bb7a1f92c3eb9f44057cb249dcbe6
Merge remote-tracking branch 'temasek/cm-10.2' into cm-10.2