Partially rewrote the query algorithm.
Completely rewrote the query algorithm
Merge pull request #37 from shiroyuki/v2.2-driver-criteria

Initial work on rewriting the query engine.