[4/8] Base: Theme engine (Patch set 28)

Parts of patch authored by: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
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>

Major contributions by Marten Kongstad <marten.kongstad@sonymobile.com>

Change-Id: Ie1cbb9c0506ce382ba0acfb06ad8afc19f4169c5

Conflicts:
	core/java/android/app/ActivityThread.java
	core/java/android/app/ApplicationPackageManager.java
	core/java/android/app/LoadedApk.java
	core/java/android/app/ResourcesManager.java
	core/java/android/content/res/AssetManager.java