Fixed a bug where keys in the query cache were not updated properly when the cache was full, sometimes causing the wrong query to be run.
Merge pull request #14 from med200/master

Fixing a bug in Client.prototype.prepare that can cause the wrong query to run.