Use menu alignment in newJO
This MR is an attempt to synchronise newJO and mainline CF creation. The code was revised to use the menu alignment tools. It was also restructured to be several smaller functions. Related to: ATR-22556
There are now entirely empty steps because in muons&electrons we were doing the alignment by hand so far. Followup MR is execpted. Related to https://its.cern.ch/jira/browse/ATR-19539