Create a temporary WT environment directory used only for arg parsing,
remove it when complete.  refs #633

This replaces the configure/reconfigure dance that we did previously.
Removed dirent->d_namlen, not portable.  Removed unneeded functions.  refs #633.
Minor test-name shuffling, test_bug002 is now a bulk-load test.
whitespace
I misread the code when I increased the buffer size from 512 to a new
back out that change.
Fix assert to match an earlier conditional.
Skip cursor resets in LSM if not positioned, or we're about to use the only positioned cursor.

refs #676
Don't switch LSM chunks in application threads: the transaction can roll back, leaving the metadata inconsistent.

refs #675, #678
In pure insert workloads, close cursors we don't need.

refs #671
Tweak the LSM throttle and merge algorithms.  Take into account the average
time a chunk stays active when deciding how aggressively to merge.

refs #676
Fix a signed / unsigned warning.
Fix a bug where a read-uncommitted scan was keeping the oldest transaction ID
in the system pinned.

This happens to be what LSM does during a merge.  Since LSM now also uses the
oldest transaction ID to determine when it is safe to flush an in-memory chunk,
the net result was that merges were blocking data being flushed.

refs #676
If we're discrading a page with a hazard pointer, assert failure in
DIAGNOSTIC mode.
Change __wt_conn_btree_apply_single to match the requested handle using
both the URI and the checkpoint.  (Because we're only matching bulk-load
files, the checkpoint we're requested to match on should always be NULL;
rather than enforce that, change __wt_conn_btree_apply_single() to match
only bulk-loaded files -- __wt_conn_btree_apply_single() has other
problems this commit doesn't solve, but this cleans up a bug and lets
us move forward.

This change originally committed, and then backed out in #674 (ef3f602).

Ref #679.
Delaying the set of session.dhandle introduced a NULL dereference
bug, fix it.
Merge branch 'wtperf-no-reconfigure' into develop
Fix shadowed declaration warning. refs #633.
Merge pull request #681 from wiredtiger/bulk-handles

Match on both the URI and the checkpoint name in __wt_conn_btree_apply_single.
Fix wtperf errors detected by valgrind: a buffer size calculation didn't include the NUL terminator, and some memory wasn't free.  While there, simplify cleanup by relying on the semantic that free(NULL) is a noop.

refs #633
Change the wtperf "medium" LSM config to use larger chunks and create Bloom filters for unmerged chunks.
This means less work for the merge thread, and insurance in case merges still fall behind.  If this helps improves performance, we should consider changing the LSM default configuration in future to match.