Fix smb4php to work with home shares

Stat'ing a share with url_stat now checks if the user can run 'ls' in that share rather than checking if the share is listed by the server. This means that OwnCloud can now mount user home shares, which are never listed by the server.
Merge pull request #7766 from Xenopathic/master

Fix smb4php to work with home shares