Stop using shared session as it is no longer needed
Provide more info when wiredtiger returns a nonzero value.

This is a stopgap until better error handling is implemented.
Merge pull request #9 from RedBeard0531/wt

Two patches for you