core: introduce Base_addEditWorkflowComment helper script

This is intended to replace portal_workflow.doActionFor with edit_action,
which was only available for users with modify portal content permission
on the document and also is a bit low level.

It is a common, especially in project specific code that we use
edit_action to leave notes in history and provide better traceability
and we sometimes do this on documents where user does not have the
modify portal content permission.
9 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

00:47:10

passed ERP5.PerformanceTest-Master

00:24:56

failed ERP5.UnitTest-Master

01:33:10

failed ERP5.UnitTest-Master.Medusa

01:19:00

passed SlapOS.Eggs.UnitTest-Master.Python2

00:09:51

passed SlapOS.Eggs.UnitTest-Master.Python3

00:12:32

failed ERP5.UnitTest-Master

04:10:11

passed SlapOS.Eggs.UnitTest-Master.Python2

00:13:01

passed SlapOS.Eggs.UnitTest-Master.Python3

00:13:46