fix in displayNamesInGroup: when specified limit N, we did complex search only in the first N users
Fix use Sharing Api with calendar

Without this fix it logs this error:
Undefined index: itemSourceName at /opt/local/apache2/htdocs/oc7/core/ajax/share.php#44
I think the itemSourceName is only used with sharing files!
fix orientation in image-backend, not in preview system itself
Fixed file list sorting

Now using a natural sort algorithm that is more consistent between JS
and PHP (although not perfect in some corner cases)

- added OC.Util.naturalSortComparator that uses the same algo that was
  used for the user list
- changed user list and files list to use OC.Util.naturalSortComparator
- removed toLowerCase() and changed the comparator to use
  String.localeCompare()
- added unit tests
- added OC_NaturalSort that is used by OCP\Util::naturalSortCompare()
Fixed sort algo for additional cases
Use afterBind to send fileId header for files and directories

afterBind is called for both files and directories and is now used to
send the OC-FileId headers.
change logic in displayNamesInGroup and add some unit tests
Use Doctrine Platform to generate SQL query for table truncation.
Refactor internal session to write directly to $_SESSION
Update AWS sdk to 2.6.15
Fix failing AmazonS3::touch on updated aws sdk
Added acceptance tests for enabling apps

This tests whether a user can see navigation entries after enabling
apps. This includes the app's group restriction.

This currently expects that a group "group1" exists until we have code
to auto-generate groups.

This commit also provides a utility function
Page.multiselectSetSelection() to make it possible to select entries
inside a multiselect.
Merge branch 'master' of https://github.com/owncloud/core
Use bigger transactions when doing explicit file system scans
Set overwritewebroot when installing owncloud to avoid problems

Fix #10514
Add a method to get the absolute url for a route

Fix #10926
Append port to trusted domain in case it's not 80 or 443

Ref https://github.com/owncloud/core/pull/10584#issuecomment-54677059
Fix typo
Add unit test

This unit test is shitty but at least it works...
more sugar for including lists of templates