Revert "Adding $mode to group canView($mode) calls,... and

modified form.php and group.php so that if group is not shown then the form really doesn't try to update data and if shown only in details then really shown in details + in list view.

This reverts commit a3c91c0b660f1077f06d84d88f63737c4ac24912.