Fix some LSM latency issues:
* have merge threads periodically check whether the tree needs to be switched in case the checkpoint thread is blocked; and
* don't turn on os_cache_dirty_max by default for LSM.
Merge pull request #1051 from wiredtiger/lsm-latencies

Fix some LSM latency issues