Create a thread to do automatic checkpoints.
Merge pull request #464 from wiredtiger/autockpt

Create a thread to do automatic checkpoints.
Take care shutting down the checkpoint thread: we have to do that before btree handles are closed.