core: use pprint.pformat to pretty print activity message_list

using json in 37b795fb was wrong,
because not all arguments can be converted to json (for example
DateTime instances)

This also enable the format using pprint.pformat for args, instead
of a simple str that was done in ActivityTool_getMessageList.
9 jobs for master
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

passed ERP5.PerformanceTest-Master

00:26:30

failed ERP5.UnitTest-Master

01:09:42

failed ERP5.UnitTest-Master.Medusa

passed SlapOS.Eggs.UnitTest-Master.Python2

00:14:19

passed SlapOS.Eggs.UnitTest-Master.Python3

00:13:23

failed ERP5.UnitTest-Master

01:28:12

passed SlapOS.Eggs.UnitTest-Master.Python2

passed SlapOS.Eggs.UnitTest-Master.Python3