remove global variable $RUNTIME_NOAPPS - it's just superfluous
remove superfluous $RUNTIME_APPTYPES
remove some more global variable $RUNTIME_NOAPPS
Within OC:init() the minimum set of apps is loaded - which is filesystem, authentication and logging
load all apps in ocs/v1.php
load all apps to get all cron jobs executed
fix autoconfig

In array_merge, $post overrides $opts (concerns data directory).
Always merge $post before calling display().
Default value for dbtype which may still be undefined in display().

Fixes several problems related to autoconfig:
- installation.php only showed $AUTOCONFIG data if it was called after
  install() had come back with errors
- if autoconfig.php was set, installation.php showed an editable field
  with the wrong data in it; then, regardless of any changes, the value
  from autoconfig.php was used
- installation.php used undefined indeces (dbtype, dbIsSet,
  directoryIsSet)
mobile: don't require a minimum width for controls bar
mobile: position share dropdown
mobile: first mobile fixes for Files. We still need to hide Rename and Versions
mobile: menu togglable for mobile, use code by @PVince81
add spans around replaced 'Shared' indicators to make text hide on mobile
additional class is added to the file actions called e.g. 'action-share', 'action-rename'
in order to allow proper translations of the action's display name an additional parameter has been added to the register function
Only enable toggle for sidebar in mobile mode
mobile: change CSS order so rename and versions are hidden
Add/remove main menu action when switching between desktop/mobile mode
Fixed matchMedia usage to make unit tests work in PhantomJS

PhantomJS has a bug that makes it impossible to properly stub
window.matchMedia. This fix adds a wrapper as OC._matchMedia
that is used for unit tests
Define _matchMedia wrapper earlier

The unit test stub didn't work because the _matchMedia wrapper
was defined too late.

This fix defines it earlier.
mobile: show caret indicator next to logo to make clear it is tappable
fixing javascript error where $(Files.breadcrumbs[1]).get(0) returns undefined - happens on resize to a very small width