[v26r0] ILDproduction improvements, cleanup
This MR contains a number of bug fixes and improvements for the ILD Production chain.
This is based on the changes from C. Calancha , continuing effort of ILCDIRAC-641
The ILDConfig meta data for Mokka is now the one that is actually used, and not just the desired string. (which simplifies some of the logic a lot...) Before Congi 01-16 was used, but 01-14 was written. Stdhepsplit exports the proper number of events, and not the one from the input file Added a check that metadata is consistentently set.
Cleanup of the code in general, refactoring some of the larger functions into more digestible chunks