Add a new statistics_log=(on_close=bool) option to wiredtiger_open.
Reference WT-1085.
WT-1085 Dump the final statistics in wtperf before closing the connection.
WT-1088 Keith & Sue's modifications to close-stats