add proper version comparision in OC_Installer::isUpdateAvailable
improve check for duplicate apps
Merge pull request #9571 from owncloud/fix_appstore_update_issue

Fix update to button issue