Separated out assignment delete event to process under own function
Record statuscode for failed send_file operation, probable 423 error
Added cli script to process all turnitin events, later events will be processed even if failure was tagged against handler
Separated out assignment creation event to process under own function
Separated out assignment update event to process under own function
Upgrade code for turnitin_assign configuration variable, needed for assignment title renaming/updating

Conflicts:

	version.php
Bump requires version to 2.3 as this version uses new file handling
Only set grade in Turnitin if between 0->1000 - grade can be negative in Moodle if using a scale. Fixes 2303 errors
Quick/dirty debugging error when invalid error handlers are present - needs tidying up to display nicely and possibly allow deletion?
tidy up display of invalid event handlers.
Fix 126 error - Date start and date due is required. This was happening on update events when dates disabled
Update Readme with info on new plugin
implement reset func for mod_assign
Import fixes in assignment creation event - check for existing cm config vars before inserting, check turnitin_assign when restoring
Improved flexibility for module files
Added checks for files that have already been sent. Without these, the file is not sent, which then returns false and stops the processing of the event queue.
turnitin_send_file returns boolean explicitly
Reordered the sanity checks to avoid undefined variables
Comments
Reorganised file upload function and made it save status codes even on failure as well as have mor detiled debugging messages.