Fixed sharing results to include the correct permissions

Passing $includeCollections would return more than one entry which gives
mixed up file permissions.

Added a method getFile() that doesn't set $includeCollections to make
sure we only get one result which is the file itself.

Fixes #6265
Added unit test for sharing permissions
Send "SET NAMES utf8" to MySQL for PHP below 5.3.6
Merge pull request #6270 from owncloud/sharing-mixeduppermissionsfix

Fixed sharing results to include the correct permissions
cache the home folder of a User
fix smbclient directory listing parser
[tx-robot] updated from transifex
fix fallback overwriting result of getHome
Add test for having utf8 filenames in the cache
LDAP: the browser shall not autofill userdn and password, usually login credentials are inserted. fixes #6283
remove unneeded ; in comment
toggle select all checkbox
Merge pull request #6302 from owncloud/mysql-set-names-utf8

Send "SET NAMES utf8" to MySQL for PHP below 5.3.6
update 3rdparty
Merge pull request #6356 from owncloud/fix_6353

[trashbin] toggle select all checkbox
Update 3rdparty ref
Merge pull request #6347 from owncloud/cache-test-utf8

Add test for having utf8 filenames in the cache
Merge pull request #6318 from owncloud/gethome-cache

cache the home folder of a User
Fix webroot for update page

On the update page, config.js was missing which caused oc_webroot to not
be available. That would trigger the faulty oc_webroot fallback that
didn't take URLs like "/owncloud/index.php/files/apps" into account.

This fix adds config.js in the update page and also a fix for the
oc_webroot fallback, in case it is used elsewhere.
Merge pull request #6390 from owncloud/migration-fixwebroot

Fix webroot for update page