CM11 Themes: Use package name from AndroidManifest

It is possible for an apk to have a different package
name for the resources than what is defined in the
AndroidManifest.xml of the apk.  Using the resource's
package name for the base package name causes themed
resources to not be properly loaded.

Instead of returning the resource package name we return
the apps package name from AssetManager.

A good example of this is Trebuchet.  The system sees
it as com.cyanogenmod.trebuchet but it's resources use
com.android.launcher3.

Change-Id: Id57e68b27b3c7509e3358a7fd12ae73a03dd6cdf
(cherry picked from commit 06925eaf85c396e11c8058a1683bc86bb2d8337b)
Revert "Reduce memory leaks by removing all views."

This reverts commit a61cab784f2560d972a1c30554a697d04993c57b.

This is causing BT icon to get caught up in "all views" removal. Backing this out until Clark can look into it.

Change-Id: Ied8f45f035492ee351e6b24fa0ae88c2abfbf9ea
(cherry picked from commit 0511d31f9ef3d76bddb1e733e4e0af9ce2556e2c)
Revert "Revert "Kill floating activities running in the same thread when tapping outside""

This reverts commit 820dbeb79be03c33794eb3e45fd2f76751b08d8b.

(cherry picked from commit d72cee56690fe2d8b94c9e508d67b3a58f3d4e99)
Revert "Slim Recents: (add support for floating window)"

This reverts commit a4e2320dec197e9a8a89f528023447729723696c.

(cherry picked from commit 1386267aa17a73a88f3dc7fe2ccfc1be3cc94eaa)
Reduce memory leaks by removing all views.

Change-Id: I64b95981425840d101c8122421281976d0251bae
(cherry picked from commit bbebee4faaf886279cadefb5dfd051630f4a306f)
SystemUI: Make wifi combo margin themable

Change-Id: Ie77b13cee84d5b472f878dba6388f3e168f5a249
(cherry picked from commit eaf638474962e4f4e9e44dfb3c7c5921b2d83b24)
Themes: Add read/write permissions [1/2]

Change-Id: Id9710a7f6058454f563488288220744b02cc4850

Conflicts:
	core/res/AndroidManifest.xml

(cherry picked from commit 0c2a941924c79d77b7558c00ddbee92ab24552c6)
Revert "wm: Make the default menu longpress action configurable at build time"

This reverts commit 404d228329670df624e28410345f07e4c984db3b.

(cherry picked from commit 8bb86b64bf67471ccb9d28474954e33c0f3a410f)