Add revert_to_published method.

STUD-1860

OK, @dmitchell has patiently helped me through writing this method. Please review, @dmitchell and @nasthagiri.
Split will use the user_id to mark who last changed the course. Split records by course and by item. There's no place to record user id in old mongo for a deletion as the thing being effected no longer exists.