Alex, would you please look at this change before you pull the lsm_stats branch?

I was holding the schema lock to traverse the list of LSM trees, and then the LSM stat code acquires the tree rwlock, and that deadlocked with threads opening LSM cursors because they acquire those same locks in the reverse order.