PackageManager: Clear foreign-dex markers when the app is uninstalled.

Also:
- Adds a missing call to clearProfiles to a callSite that was clearing other app data .
- Fixes a bug where the wrong package was being passed to clearAppProfilesLIF. We should
  use the "old" (pre-upgrade) package and not the "new" (post-upgrade) package.

bug: 28510916
Change-Id: Ia926acda2c72d39bad51143e3f923643d9c3a0af
1 file changed