Fall back to InstalledAppProvider when trying to identify the apk to uninstall.
Extracted getInstalledApk()
method so that it could be better documented, and
makes the uninstallApk()
more consise. It will now throw an IllegalStateException
if no apk is found, because as issue #800 (closed) shows we will end up with a NPE otherwise.
Fixes issue #800 (closed).