Fixes #1851: Fixed issue with App Manager where upgrading an app where the installed version isn't available in the App Store prevented the upgrade.  Also fixed issue where upgrading via web browser doesn't delete the older version of the app.