caddy-frontend: Dodge lowercasing in profile generation

slapos.cookbook:softwaretype tends to lowercase keys in each section, which
has been undetected due to using lowercase references of slaves in the tests.

By restructuring information in the sections, and putting slave references
inside of dumped part of information, now the slave reference case is kept.

Also real care was taken to stabilise published lists by sorting them, as it
also slipped, that they could be unstable.

Tests has been updated to catch this issue, also other tests were fixed, as
they had wrong assertions.
12 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed SlapOS.SlapRunner.ResilienceTest-Master

00:26:54

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

01:39:06

failed SlapOS.SoftwareReleases.IntegrationTest-Master.Python2

11:43:03

passed SlapOS.SoftwareReleases.IntegrationTest-Master.Python3

03:49:41

passed SlapOS.SlapRunner.ResilienceTest-Master

00:30:36

passed SlapOS.SlapRunner.ResilienceTest-Master

00:26:35

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

00:14:25

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

00:15:53

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

01:37:59

passed SlapOS.SoftwareReleases.IntegrationTest-Master.Python2

07:06:04

failed SlapOS.SoftwareReleases.IntegrationTest-Master.Python3

04:28:59

passed SlapOS.SoftwareReleases.IntegrationTest-Master.Python3

04:14:00