- Fixed the generation of the keys for a query to traverse subdocuments, handle Dates, arrays, ObjectIds and $in clauses.
 - Added unit tests for toQueryKeys.js.
 - Now uses the correct toQueryKeys.js passed into the map method via the scope parameter.