This change adds a function to the assign class to allow the permissions for a group submission
to be checked and updates all the submission plugins to call it.
Conflicts:
mod/assign/locallib.php
mod/assign/submission/file/lib.php
mod/assign/submission/onlinetext/lib.php