Allow apps to add/modify config js output via hook.
Merge branch 'master' into add-js-config-vars
Merge pull request #7344 from owncloud/add-js-config-vars

Allow apps to add/modify config js output via hook.