[4/9] Theme engine (patch set 40)

Nothing of this would be possible without Josh, Ed,
and the rest of the TMo guys who wrote and maintained it until 2.2:

Amit Chabra <amit.chabra@t-mobile.com>
Amit Kohli <amit.kohli@t-mobile.com>
Chris Cogar <chriscogar@t-mobile.com>
Dirk Sigurdson <dirk.sigurdson@t-mobile.com>
Ed Carrigan <edward.carrigan@t-mobile.com>
Gaurav Sharma <gaurav.sharma3@t-mobile.com>
Hui Feng <hui.feng@t-mobile.com>
John Ritz <john.ritz1@t-mobile.com>
Josh Guilfoyle <josh.guilfoyle@t-mobile.com>
Mark Roberts <mark.roberts48@t-mobile.com>
Pankaj Kumar <Pankaj.kumar6@t-mobile.com>
Samuel Cheung <samuel.cheung@t-mobile.com>
Sergey Ten <sergey.ten6@t-mobile.com>

Many parts of patch authored by:
Marten Kongstad <marten.kongstad@sonymobile.com>
Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Clark Scheff <clark@cyngn.com>

Change-Id: Ie1cbb9c0506ce382ba0acfb06ad8afc19f4169c5

Conflicts:
	core/java/android/app/ResourcesManager.java
	core/java/android/content/pm/PackageParser.java
	core/java/android/content/pm/ThemeUtils.java
	core/java/android/content/res/AssetManager.java
	core/java/android/content/res/CustomTheme.java
	core/java/android/content/res/Resources.java
	core/java/android/provider/ThemesContract.java
	core/jni/android_util_AssetManager.cpp
	include/androidfw/AssetManager.h
	libs/androidfw/AssetManager.cpp
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
	services/java/com/android/server/ThemeService.java
	services/java/com/android/server/pm/Installer.java
	services/java/com/android/server/pm/PackageManagerService.java
	tools/aapt/Package.cpp