Call destroy functions on error. (#531)
Push most of __conn_close down into __wt_connection_close so that everything is cleaned up after errors in open.
refs #531
All cleanup happens in the top-level open call.
refs #531
Merge pull request #532 from wiredtiger/error-leak

Call destroy functions on error. (#531)