Problem with command line options passed on the first line of a `.mod` file when they are used in dynare.m

When command line options are passed on the first line of a .mod file within // --+ options: +--, they are parsed by the preprocessor and ignored by dynare.m.

This ignores the options nopathchange, nopreprocessoroutput, onlymacro, onlyjson, and nolog. An attempt to fix this was made with a regex for nolog but it is buggy (e.g. a command line argument such as savemacro=,nolog, would result in no Dynare log being created).