Move cascading string comparisons into a switch statement.

Cursor open should be as light weight as possible.
lint.
Merge branch 'develop' into cursor-open-optimization
wrap lines at 80 columns
Expand on Alex's ideas: we can return out of the switch statement
instead of breaking out of the switch statement (which means we don't
need a flag if we've been successful, and we should list the common
cursor cases (like "table") first in the switch statement, that way if
the compiler can't create a jump table, we test the right cases first.
Merge pull request #1218 from wiredtiger/cursor-open-optimization

Move cascading string comparisons into a switch statement.
WiredTiger has a lot of cascading if/else statements checking for string
matches, and clang (version 3.3) doesn't inline strncmp.  Add an initial
check to see if the first character matches before calling strncmp.
Coverity #1199717, fix a bug in 7179a227 where the test for a lock was
accidentally included inside a test for compacting.
Update dist/s_style to check for cases where we jump to the error label
after passing it, that's an infinite loop.
clang gets pthread_t initialization wrong: wtperf.c:1865:28: warning:
variable 'monitor_thread' may be uninitialized when used here
[-Wconditional-uninitialized]
If we're doing raw compression in service of eviction, and haven't found
any rows to write, the page may not be evictable if we skipped an update.
Reference #1221.
whitespace
Make random number generation be per session in the WiredTiger library,
and per thread in wtperf and test/checkpoint, reference #1223.
The error routine we're hitting isn't row-store specific, fix the error
message.
Add a debug routine to print out an address, it helps with salvage
debugging.
Merge pull request #1224 from wiredtiger/random-per-session

Fix shared variable collisions in random number generation.
Fix a hang in LSM compact. Refs #1225
Merge pull request #1226 from wiredtiger/lsm-compact-hang

Fix a hang in LSM compact. Refs #1225
Update LSM compact to avoid a hang.

Only wait for the newest chunk that is present when a compact is
started to be flushed before moving onto the merge phase. Otherwise
workloads that compact while updating in parallel can wait forever for
compact to finish.

Refs #1225
Set compacting if we don't have a chunk to flush. #1225