WiredTigerException now extends RuntimeException, making it easier to
write Java programs using WiredTiger.  refs #1011.
Added new Java exception classes for WT_DEADLOCK and WT_PANIC errors.
refs #1011.
Renamed WiredTigerDeadlockException to be WiredTigerRollbackException.
Merge branch 'develop' into java-exceptions
Integrate new Java exception classes into java version of doc.
Added a minimal ExceptionTest for java.
Update WiredTiger stat graph generator to expect non-cleared stats.

Can revert to previous behaivor with --clear flag.
Don't reset the WT_REF state until after the in-memory page has been
discarded, we could race with another reader (it's very, very unlikely,
but possible).
Fix a comment.
Fix Compile
Merge pull request #1326 from markbenvenuto/win_build

Fix Windows Compile
We don't yet run on any system where pthread_t is an opaque type (and I bet
we never do). It's useful for the thread ID to match gdb's version, for now
just print out the pthread_t. Reference #1327.
os_thread.c:55:6: error: format '%p' expects argument of type 'void *',
but argument 5 has type 'pthread_t' [-Werror=format=]
os_thread.c:55:45: error: cast from function call of type 'pthread_t'
to non-matching type 'void *' [-Werror=bad-function-cast]
warning: embedding a directive within macro arguments has undefined
behavior [-Wembedded-directive]
wts.c:97:15: error: assignment discards 'const' qualifier from pointer
target type [-Werror]
Oracle Solaris fixes
Merge pull request #1329 from markbenvenuto/solaris_fix

Oracle Solaris fixes
Merge pull request #1328 from wiredtiger/pthread-printf

Change how we print pthread IDs to match GDB on Linux.
Merge pull request #1325 from wiredtiger/wtstats_no_clear

Update WiredTiger stat graph generator to expect non-cleared stats.