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 
I can't comment on the line bellow: In line 1166 there is just a `return;` without anything. Please add a true/false there or adjust the PHP doc.