Get rid of circular references that were preventing weak reference to thread local from going away.
Turn off direct in routines by default.
merge MMcM: Direct causing memory leak calling stored procedures

Merge pull request #1160 from MMcM/sql-layer/direct-circular-refs
https://github.com/FoundationDB/sql-layer/pull/1160