Leveraged connection->prepareBindings() rather than duplicating logic
Merge branch 'pull-request/toSql-with-bindings' into 4.1