Implement limiting of results

Added support for limiting the number of results from a query. this
is implemented by filtering the results ruturned from the Query on the db
You should change the `-find:` method to call into this one, similarly with the one in CDTQQueryExecutor. Otherwise we'll forget to update one at some point. It also makes the defaults obvious to someone reading the code.