Deep cloning the findOptions in findAndCountAll

Since the ID was added automatically to the attributes, it caused duplicate fields in the generated queries on the findAll
Merge pull request #1388 from jValdron/master

Deep cloning the findOptions in findAndCountAll
changed sort
fix addiing duplicate PK attributes in select query
connection strings: use pathname instead of path (dont use query strings in db name)
wrap undo/migrate in an authenticate call and log error
fix regression bug introduced by .and()/.or() implementation
quickfix for where to place order by when using subqueries
skip specific test for postgres (weird ARRAY[] logic needs to be looked at)
ORDER BY in the sub-query should also be in the main-query
Update query-generator.js
Merge pull request #1410 from ruifortes/master

fix adding duplicate PK attributes in select query
Update changelog.md
[test] provide tests for empty 1:1 include cases
[chore] upgrade dottie dependency to counter Array.prototype being changed
.set() will no longer accept values that are not a dynamic setter or in the model definition
[merge]