fixes #1358
optClone wasn't in the associations path
test for smartWhere on binary data
pass Buffers by reference
Buffers were not being cloned in find() or treated as primary keys
more tests - correct return, and test for the association pathway
use bytea for BINARY fields
this.escape isn't bound in these maps, so this.dialect was undefined
making the test fit both mysql (which returns binary strings) and postgres (which returns Buffers)
Merge pull request #1364 from SohumB/bugfix/use-ishash-to-avoid-buffers

Fixes #1358
Update changelog.md
Update changelog.md
1.7.0-rc6
Merge branch 'master' into feature/mssql