added code to handle DISINCT keyword.

This test makes testSQLProcessor::test_distinct() pass.