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
See what happens when your `skip` is after the end of the results array and when `limit` takes you beyond the end.