Remove uses of the checkpoint lock other than serializing checkpoints:
compact holds the schema lock, so it doesn't need to hold the checkpoint
lock, the new WT_BTREE handle close lock prevents checkpoints from
colliding with handle close, so LSM doesn't need the checkpoint lock
either.

Minor cleanup, bug fixing, code shuffling.