Move cascading string comparisons into a switch statement.

Cursor open should be as light weight as possible.
lint.
typo.
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]