Fix workflow cron. #8582

This will break any workflow that is set to automatically complete
workflow setps at a given time before or after one of the dates in the
vl_v_crs_version_pres table (e.g. tutor or student open or close date).
Fix up text handling in block_workflow. #8508

There were lots of missing format_text, format_string and s calls, as
well as other places with incorrect format_strings. I hope this fixes
them all.

Also, the handling of role names was wrong.
Fix workflow unit test. #8738
Two undefined variables in the workflow code. #8925
Fixed get context deprecated functions everywhere after 2.6 merge #9632
Upgrade workflow to work with 2.6.1. #9700

* Fixed use of deprecated functions.
* Fixed Also, message sending. There is now a better way to send from
the no-reply user.
* Fixed codechecker issues.
Workflow auto-finish should work for externalquiz. #9708

... but it should not be offered on the editing form for other sorts of
module where it is not supported.
Workflow block cron errors. #10012

This fix to ignore the bad data is for back-porting. I will do
a separate commit to fix the problem properly.
Clean up bad workflow block autofinish data. #10012

Now we consistently use NULL to mean do not autofinish everywhere.
Update version number for the 1.3 release.