Added PaginatedQuery support.  resolves #73

Here is a stab at it (has not been thoroughly tested).  Feel free to change the API if you have better ideas.