Added distinct command + test

Hi, I needed the distinct command today, noticed it wasn't there in the driver so wrote it.  Tried to keep to your style.  Also wrote test to go along with it.
Cheers,

Paul