continued revision of master/slave terminology to primary/secondary

- updated comments and log messages
- fixed typo "seconary" in cfg_test.c
67 jobs for !5402 with each-more-primary-secondary in 20 minutes and 14 seconds (queued for 6 seconds)
latest merge request