Add missing compatibility with mod_assign

The draft_submit option is missing from mod_assign, and the assessable_submitted event is not processed properly (no files are submitted to TII).  These patches have been tested on mod_assign (on Moodle 2.4) but not mod_assignment, though care has been taken to maintain compatibility.