add ability to enable/disable turnitin in individual supported modules - also fix some setType errors
Update timedate handling for Moodle 2.4 and consolidate function
add check to prevent timedue from being set earlier than timestart