PackageInstaller: add judgement to check the Intent is valid

the package installer does not re-check the intent is valid when onClick.

get launch intent by package name when called onClick method.

CRs-Fixed: 637131

Change-Id: Ifc29df92fd84f53131dfcf8d915a7a642622067e
Merge remote-tracking branch 'cm/cm-12.0' into HEAD