Implement the .distinct() method

Implement the .distinct() method proposed in https://github.com/wolneykien/waterline/commit/7c4ae27aafef12a8098ca4d237a6823fc242aea7 .