Made client.query() take objects with .toQuery() defined

@brianc: This allows you to pass objects with `.toQuery()` defined (including node-sql queries) directly to `client.query()`. I also fixed an error-handling typo in big-simple-query-tests.js.