DO NOT MERGE Fix bug #7297028 Settings app crash when swiping between Downloaded / Running / All for Apps

- fix draw invariant for ViewPager (you cannot layout during drawing)
- add more logging

Change-Id: Ibfc38a16b40b8c63b0ecbf9b423d8867c28b66ed
Merge branch 'jb-mr1-release' of https://android.googlesource.com/platform/frameworks/support into HEAD
Merge tag 'android-4.2.2_r1' of https://android.googlesource.com/platform/frameworks/support into 1.1

Android 4.2.2 release 1
Merge tag 'android-4.3_r2.1' into cm-10.2

Android 4.3 release 2.1
Support : Add cm support library

Cm specific public facing api's should be placed here
and not pollute the framework

Change-Id: I1491683a7a0420e290e0fd29c4b3fd17ee59b4a0
CmSupport : LiveFolder

Switch to plain log errors rather than exceptions.
Add api extra for existing folder ids, which is sent when
folders are binded.

Change-Id: I70dd8d24e9f4de3fd9479effeab75e1b821410e3
CmSupport : Live folder empty content

Allow apps to specify empty layouts for folders.

Change-Id: I8d0fc88c6db4202f00e65f3a94368c8a00442c8b
CMSupport: Sync MAX_ITEMS constant

Change-Id: I9f39aeec0ab4461a91fc9543493ce9ccffe18cf6
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/frameworks/support into cm-10.2

Android 4.3 Release 3.1
Skip these libs on GMS builds

Change-Id: I22b16086c466196bb5ec5a887b1580640077b4b2
Merge tag 'android-4.4_r1' into cm-11.0

Android 4.4 Release 1.0
Merge remote-tracking branch 'cm/cm-11.0' into HEAD