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.