Revert "Themes: Fix bad idmaps for system themes"

This reverts commit 9309a9cc5d278572ba1897b95658289f5e5b377a.
Themes: Fix bad idmaps for system themes

For a system installed theme or a user who cleared his resource-cache,
there were empty idmaps for some packages.

[Details]
During startup PM could reach the theme package first before the target app was scanned in yet. This
would cause aapt to be skipped. Then when the target app is being installed in startup,
PM would try to create idmap pairs but it would fail since the resources from the theme
were not compiled for that target app.

Also cleaned up PM idmap/aapt creation a little bit more

Change-Id: I6a7dbd7c5d51a2d1336e3289c1e03bb3ed5d762e

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

(cherry picked from commit fabfb1734c3bad4c9b11ef16e5132e0f8565e5db)

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