Fixes for testing/testcase

The main part is to address the supervisor path too long we sometimes have with theia or slaprunner tests.

Some minor fixes are also included

See merge request !242
8 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
failed SlapOS-Master.UnitTest-Master

01:27:12

failed SlapOS.Eggs.UnitTest-Master.Python2

01:32:09

passed SlapOS.Eggs.UnitTest-Master.Python3

00:16:38

failed SlapOS-Master.UnitTest-Master

01:47:56

failed SlapOS-Master.UnitTest-Master

00:07:20

failed SlapOS-Master.UnitTest-Master

01:24:54

passed SlapOS.Eggs.UnitTest-Master.Python2

01:38:15

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:39