fix in displayNamesInGroup: when specified limit N, we did complex search only in the first N users
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
Append port to trusted domain in case it's not 80 or 443

Ref https://github.com/owncloud/core/pull/10584#issuecomment-54677059
Move select2 from files_external to core
Now using select2 for the groups excluded from sharing
Load select2 on admin page
Remove excludegroup.php

The ajax call is now using ajax/appconfig.php instead
Added select2 on the apps page

Moved setupGroupsSelect() from admin.js to a common settings.js
as OC.Settings.setupGoupsSelect().

Now using select2 as well on the apps page.
Fixed select2 for admin and apps page

Added explicit escaping.
Now internally using a pipe symbol as separator for select2, to make it
possible to use group names containing commas.
fit select2 to ownCloud input style
Add select2 cache for complete group list

To avoid making a server request every time the dropdown opens, the
whole list of groups are cached (from the last request):

Whenever the user types in a search term it will still send server
requests.
add more logic in displayNamesInGroup for big user bases
Introduce cross-db ILIKE
adding ILIKE to AdapterSQLSrv
DragnDrop Upload text style

The 8px margin was uggly.
Remove old upgrade routines

We do not support updates from 6 to 8 directly, therefore we can remove those upgrade routines.
add test case for ILIKE with wildcard
Do not show exception to the end-user

Log the error instead of potentially leaking sensitive information
replace horizontal rules with whitespace