Make shipped apps updatable via appstore

Make shipped apps updatable via the appstore. Apps need an ocsid assigned to them. See example file for how to do so. (will add to doc asap).

You can test by:
- setting up a new ownCloud
- adding the videos app linked below
- test different scenarios
 - default app dir writable
 - default app dir not writable

will remove https://github.com/owncloud/core/pull/8808/files#diff-1225d18e3966cf8859db1978ce38fcaeR508 as soon as there are 2 :+1:s 

please review @DeepDiver1975 @PVince81 @schiesbn 
It seems like $appPath defined by \OC_App::getAppPath($app) on line 92 can also be of type false; however, stream_resolve_include_path() does only seem to accept string, maybe add an additional type check?