Fix BGWriter stats handling
Add wiredtiger driver

Import from https://github.com/wiredtiger/leveldb_wt
commit 1a8469d2c543bce57022cbae92eb3bd74e2a02e9
Merge support for wiredtiger