Fix: Model.count() and findAndCountAll() returned NaN with Postgres and quoteIdentifiers==false.
Added test case to demonstrate issue #2316
Update changelog.md
Merge branch 'master' of https://github.com/haches/sequelize into haches-master
fix(associations): regression in hasMany pairing introduced with through scopes, fixes #2316
Merge branch 'haches-master'
Merge branch 'master' of github.com:sequelize/sequelize
[2.0.0-rc2]
update package.json
[fix] cover BC cases
Merge pull request #2406 from paul-sh/master

count() returned NaN with Postgres and quoteIdentifiers=false
Support for attributes with the same field name as attribute name
Use `connection._protocol._ended` state
Merge pull request #2452 from janmeier/fieldSameName

Support for attributes with the same field name as attribute name
Make @mickhansen happy
Update CONTRIBUTING.md
maintain `connection.state` instead

@mickhansen I believe that problem was occurring because
“protocol_error” is a faulty state, not a valid one.
Copy the options object in association getters
code coherence
Merge pull request #2453 from findhit/hotfix/mysql-connection-validate

dialects.mysql.connection-manager: Use `connection._protocol._ended` state on $validate