Fixes Tokutek/ft-index#44 Fix loop counter/array bounds in test_stress0
Refs Tokutek/ft-index#26 Fixes Tokutek/ft-index#31 Change api for *_multiple to support array indexing.  Never call put/del_callback functions for src_db.
refs Tokutek/mongo#399, change hot_optimize to take bounds
Merge branch 'bugs/mongo-399'
Add a timed wait for the locktree manager's mutex, check memory
constraint in a loop without waiting for escalation to complete fully.
Merge commit 'd41c9c64d16e38432d0159e8c347290f0a34f47c' into fd172
debug lock wait timeout problems