Prevent unstarted modules stopping assignment update.
Merge branch 'release/2014012410'
Global tiipp variable added so Androgogic offline mode doesn't crash moodle assignment.
Hard errors changed to soft errors when the cron is run.
Remove submissions after 5 submission attempts if assignment exists in Turnitin.
Change ordering of submissions to get most recent first in update scores.
Inclusion of grade lib file moved to top of lib file due to isolated reports of cron failing.
Multiple attempts are handled properly.
Comments added for editing $submissions in get_links()
Allow for attempts when grading - get latest grade rather than just looking for single record.
Ignore NULL grades when working out overall grade in PP
Docs & version numbers incremented.
Incorrect calculation of average grade in PP fixed.
Fixed incorrect rounding of average grades in PP
Revert "Fixed incorrect rounding of average grades in PP"

This reverts commit 81ef871c970039a341beb33f660a66bca95be6ae.
Merge branch 'develop'

* develop: (21 commits)
  Revert "Fixed incorrect rounding of average grades in PP"
  Fixed incorrect rounding of average grades in PP
  Incorrect calculation of average grade in PP fixed.
  Open DV from PP in Firefox in a frame instead of iframe to fix resizing and non-downloadable file bugs.
  Open DV in Firefox in a frame instead of iframe to fix resizing and non-downloadable file bugs.
  Docs & version numbers incremented.
  Remove duplicate refresh row call by only binding one event and delete row and re-add when row is refreshed for correct sorting
  Ignore NULL grades when working out overall grade in PP
  Allow for attempts when grading - get latest grade rather than just looking for single record.
  Comments added for editing $submissions in get_links()
  Multiple attempts are handled properly.
  Unused function check_user_class_membership removed from turnitintooltwo_user.class.php
  Inclusion of grade lib file moved to top of lib file due to isolated reports of cron failing.
  Change ordering of submissions to get most recent first in update scores.
  Fix for incorrect assignment id search when refreshing rubrics in PP.
  Remove submissions after 5 submission attempts if assignment exists in Turnitin.
  Hard errors changed to soft errors when the cron is run.
  Global tiipp variable added so Androgogic offline mode doesn't crash moodle assignment.
  Performance logging of curl calls (provided by Androgogic).
  Fix for Turnitin Assignment inbox so it can now be sorted by similarity score and grade
  ...
Merge branch 'master' of github.com:sk-unikent/moodle-plagiarism_turnitin

Conflicts:
	version.php
Merge pull request #11 from unikent/master

[DeployBot] STABLE Pull