Monitoring app refactoring and fixes

See merge request !1948
8 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
failed ERP5.CodingStyleTest-Master

02:01:05

failed ERP5.PerformanceTest-Master

00:40:53

failed ERP5.UnitTest-Master

02:15:44

passed SlapOS.Eggs.UnitTest-Master.Python2

00:15:10

passed SlapOS.Eggs.UnitTest-Master.Python3

00:17:18

passed Wendelin.UnitTest-Master

00:48:39

passed SlapOS.Eggs.UnitTest-Master.Python2

00:18:35

passed SlapOS.Eggs.UnitTest-Master.Python3

00:19:58