Distinct Tables Values: 90%

This PR allows the ability to do distinct queries on table columns
I copied the style from:

https://github.com/talis/tripod-php/blob/master/README.md

...so?