Implement limiting of results

Added support for limiting the number of results from a query.
This is implemented by filtering the results returned from the
Query on the db. Results can also be skipped using the skip
 parameter on find