coding style fixes, cut long lines, comments not on same lines, curly braces

Fix the issues noted by Scrutinizer at https://scrutinizer-ci.com/g/owncloud/core/issues/files/apps/files/js/admin.js?selectedLabels[0]=3&orderField=path&order=asc

Please review @DeepDiver1975 @schiesbn