Add .apk mimetype.
CRON call ends in null exception


[error] 4461#0: *186285 FastCGI sent in stderr: "PHP message
: PHP Fatal error:  Call to a member function execute() on null in /var/www/ownc
loud/cron.php on line 125" while reading response header from upstream, client:
217.13.183.252, server: cloud.mycloud.com, request: "GET /cron.php HTTP/1.1", upstre
am: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cloud.mycloud.com", referrer: "
https://cloud.mycloud.com/"
Update cron.php
Allow specifying the item source in unshareFromSelf().
Log unsuccessful temp file creation and return false
Only load personal external storages for allowed backends
Extend OC_Util::needUpgrade to also catch app upgrades
Throw an exception when we try to load an app that needs to be upgraded
handle service not available exceptions in index, remote and public.php
extract upgrade parts to their own methods
Allow loading app without checking the upgrade
Send feedback from upgrading apps to the upgrade ui
Also set the app version when updating from app store
Set maintaince mode when updating an app from the app store
only set core version at the end
Check return of fopen() before using it

Fix #9968
better check whether string resembles a DN, fixes #9887
Remove doubled slash between folder and path
Do not filemtime() on "." directory. Use empty string instead

Fix #9928
Trigger events when app-settings visibility changes