Make the basic term for a TInstance be "type" in a bunch of methods and local variables.
merge MMcM: Make the basic term for a TInstance be "type"

Merge pull request #1157 from MMcM/sql-layer/rename-some-tinstance-methods
https://github.com/FoundationDB/sql-layer/pull/1157
Test case
Have ExplainPlanContext consumers pass in a QueryContext
Get rid of circular references that were preventing weak reference to thread local from going away.
Turn off direct in routines by default.
merge nathanlws: Have ExplainPlanContext consumers pass in a QueryContext

Merge pull request #1159 from nathanlws/sql-layer/explain-plan-context-query-context
https://github.com/FoundationDB/sql-layer/pull/1159
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
TableName helper for checking system schema
Prepend SYSTEM to table_type and routine_type
Consistent method
merge nathanlws: Add SYSTEM to table and routine types

Merge pull request #1161 from nathanlws/sql-layer/system-object-types
https://github.com/FoundationDB/sql-layer/pull/1161
Cleanup extra scheams
Adjust expected types
merge nathanlws: Three small tweaks for FTS

Merge pull request #1162 from nathanlws/sql-layer/tweaks-for-fts
https://github.com/FoundationDB/sql-layer/pull/1162
Merge remote-tracking branch 'github/master'