Made namespaced thrift fact a first class citizen.

Fixes error handling and incorrect partitioning on snapshot.
Perf improvements.
Generally cleaner handling of Thrift wireformats.