Distinct Tables Values: 90%

This PR allows the ability to do distinct queries on table columns
I know I'm late to this party BUT... Why do I need to specify `values.` here? I think the tripod driver should add that. It's an implementation detail that we happen to place the table output in a values field - it's a relic of when this was done using map reduce and we should be phasing this out over time.