[1/2] Speed up booting on multicore devices.

1. Add multithreading support to Installer/installd.
2. Parallelize package scanning.
3. Parallelize boot dexopt.

Change-Id: Id42b2bf4a737f93f9ecd9b5819344adbb735f0fb

Patchset: 7
http://review.cyanogenmod.org/#/c/59909/
[1/2] fb: Change density on the fly

Change-Id: Ib279a91d8300d01afd40e987d1be9a56d93fcc30

Patchset: 9
https://gerrit.slimroms.net/#/c/164/
Merge branch 'cm-11.0' of https://github.com/temasek/android_frameworks_base into cm-11.0

Conflicts:
	services/java/com/android/server/pm/Installer.java
	services/java/com/android/server/pm/PackageManagerService.java

Change-Id: I2c36262e5d8282cffb2b12013223de390170dbc0