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

Added support for distinct option in Model.aggregate method
Merge pull request #2010 from meetearnest/ilike

ILIKE support for postgres
Added API docs for #2008
[ci skip] Mention the distinct option for aggregate on count
Merge remote-tracking branch 'upstream/master'