remove use of threadLocalSession in type-provider related code
Merge pull request #1 from cvogt/tmp/type-providers

remove use of threadLocalSession in type-provider related code