Close stats

Add a new statistics_log=(on_close=bool) option to wiredtiger_open.

Reference #1085.
It seems odd to have STAT_NONE be an actual bitfield value rather than the absence of other values.