Plagiabot provides an API for testing articles with the Turnitin engine (see https://en.wikipedia.org/wiki/Wikipedia:Turnitin). Here is an example of the API output for a specific article: http://tools.wmflabs.org/eranbot/plagiabot/api.py?action=suspected_diffs&page_title=Rajesh_Khanna&report=1
It would be great if the Copyvio Detector tool (https://tools.wmflabs.org/copyvios/) had the option of using Turnitin as well as Yahoo BOSS (it's current engine).
Acceptance criteria:
* In the "Copyvio search" options, add a new option for "Use Turnitin"
* If "Use Turnitin" is checked, add another section to the output that shows the information from the Plagiabot API
* If the result from the API is an empty array, output a message like "No copyright violation detected by Turnitin."
* If there is no result from the API, display an error message (but still show output from Yahoo if it was requested).
* If results are returned by the Plagiabot API, each result should be shown in its own row along with its score, a link to compare the sources (using the Copyvio Detector diff engine), and a link to the ithenticate report (this may require some minor improvements to the API output as it currently mixes HTML with data).
* If a result from Turnitin has the highest violation score (higher than any results from Yahoo), also show it as a diff below (using the Copyvio Detector engine).