Add 'set' query to query() method so no result object is fetched.

If you use a `SET` query, such as `SET NAMES utf8` and run it via `->query()` it kills the script. It's trying to fetch a result object that doesn't exist.

Have updated the `mysql` and `mysqli` extensions to include a check for `set` so that this doesn't happen.