Avoid crash caused by race condition between AMS and PMS

Fix http://code.google.com/p/android/issues/detail?id=39062

Here is the detailed analysis:
1. PMS sent out PACKAGE_REMOVED broadcast during auto-update
of Google Quicksearchbox by Finsky.
2. In my case, 9 receivers were registered to handle this
broadcast. The 6th receiver is com.google.android.finsky.
receivers.PackageMonitorReceiver$RegisteredReceiver.
3. Just before the 6th Finsky receiver was dequeued to
handle this broadcast, Finsky starts upgrading itself.
4. To finish the upgrade, PMS has to remove all the package
information of Pinsky first.
5. Just at this moment, AMS dequeues the 6th receiver and
be trying to query from PMS about the right component to
handle the broadcast. AMS just got NameNotFoundException
from PMS.
6. AMS has not considered this case, it simply starts new
process to host the new compoent as usual, although no
component has been found.
8. The new process crashes in LoadedApk.makeApplication.

This patch just interrupts upon NameNotFoundException.

Change-Id: I26cf200cc84639e1261085b6905a567320cbb0a9
Author: Bing Deng <bingx.deng@intel.com>
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
Signed-off-by: Bing Deng <bingx.deng@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 63612