Open IMAIN earlier in solver.

This allows any messages printed in the parameter-loader to go to the
correct file.
Refactor mesher's IMAIN initialization to match solver.
moved NUMBER_OF_SIMULTANEOUS_RUNS and BROADCAST_SAME_MESH_AND_MODEL from setup/constants.h to the Par_file