Added pagination to search queries

A new skip parameter can be added to search queries and the results
will start from that offset in the overall search results.