Start diary earlier to include input arguments and Dynare version
Currently, the diary only starts after the version and the input arguments have been printed. That way, important information is missing when calling a mod-file with command-line switches.