Modified model aggregate method to support distinct option and added test to test/dao-factory.test.js
Merge pull request #2008 from alekbarszczewski/distinct-support

Added support for distinct option in Model.aggregate method