Fix to show the bulk edit fields only if the user has edit permission on the
'files' module. Also hides the 'Selection' column and checkboxes otherwise.
Fix to correct the displaying of the 'Selection' column and checkboxes.
Otherwise an user without edit permissions on the 'files' module but with
full permissions on a file (either its own or with permissions granted by
others) would get a distorted table.