Add new /cloud/capabilities route and remove unused methods
Add <syncpollinterval> and order the result for /cloud/capabilities
API: Remove api response structure from OC_OCS_Result, handle multiple registered methods for api calls
Merge branch 'master' into ocs_capabilities

Conflicts:
	lib/ocs/cloud.php
fixing variable name type
Remove app related values and change structure of /cloud/capabilties call
Merge master
Fix merge conflict
Change strucutre of cloud/capabilities response
Remove accidental inclusion of apps repo.
Add capabilities exposure to the versioning app
Merge branch 'ocs_capabilities' into ocs_multiple_methods
Use OC_User::isAdminUser() in lib/api.php
Merge in master
Fix api result merging.
Remove debug call, correct app identifier
Change capabilities exposure for files_versions since it extends files
Code style and remove OAuth code
more code style
Add further capabilities to /cloud/capabilitites api call