Display a summary of warnings at the end of Dynare run

At the end of a run, display a message if a warning was emitted (either by the preprocessor, or by MATLAB/Octave code).

Some harmless warnings should probably be filtered out.