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.
8 jobs for for_testrunner_2 in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5.CodingStyleTest-TestRunner2

02:05:27

passed ERP5.UnitTest-TestRunner2

02:36:40

passed ERP5.CodingStyleTest-TestRunner2

06:38:37

failed ERP5.CodingStyleTest-TestRunner2

04:46:31

failed ERP5.CodingStyleTest-TestRunner2

01:28:20

passed ERP5.UnitTest-TestRunner2

07:39:38

failed ERP5.UnitTest-TestRunner2

03:42:35

passed ERP5.UnitTest-TestRunner2

02:49:58