code style
fix uploading when ['dirtoken'] is not set
fix detection of public upload in filelist.js
Merge pull request #3903 from owncloud/nonpublic-uploading

Fix upload regressions