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