Adds --stats flag to enable detailed runtime statistics to be written to the master file

This will help in providing automated tests (i.e. no cpu time, nodes list etc.)