Fix call site when using Pool.prototype.query

This fixes the call site for long stack traces when using the query
method on a pool object. Before the stack trace would only lead up
to inside the getConnection method instead of the library caller.
Merge pull request #715 from dougwilson/fix/pool-long-stack-trace

Fix call site when using Pool.prototype.query
add example of using pool directly
Merge pull request #739 from coderhaoxin/master

add example of using pool directly
Merge pull request #755 from swekaj/master

Only set options.values = values when values is defined.  Otherwise, whe...
Add passive testing on node.js 0.11
Add test for normal password auth
Use new sha1 function with node.js > 0.10.5 only

This switches node.js 0.10 back to the old sha1 function due to
some bugs in early node.js 0.10 versions.

node.js >= 0.10.0 < 0.10.5 throw an error from `hash.setEncoding`
node.js 0.10.5 does not honor `hash.setEncoding` for `hash.write`
and the string is interpreted as utf8 and corrupted.

fixes #746
fixes #752
docs: Update Changes file
Revert "crypto.createHash fix for node.js < 11"

This reverts commit fe4c2f55b6b0d329ef529bcc90ea2c911f803e33.

Testing has shown the changes are not necessary, so this removes
code doing version sniffing.

closes #757
2.1.1
Use indexOf to find connection when removing from pool

fixes #611
Make callback to pool.query optional

closes #585
docs: remove handleDisconnect example

This removes the code example that tries to create a new connection
after a connection is disconnected. This example came about before
there was a `Pool` in this library and was necessary. Now this example
is simply mis-leading and users end up trying to copy-and-paste it
into a stand-alone file and get confused on how to replace the
`connection` variable reference. `Pool` is the official solution.