Added permissions view for groups to edit them

Now it is possible to edit the groups over the interface.
Removed subgroup_model from data-controller
Added edit_others markup to improve view on mobile devices
Fixed has_user_permissions bug and added edit_user_permissions

Added edit_user_permissions to the data-field so the view only shows a
link to the edit permissions section if the user has the permissions to
view them.