Added paging for SQL results.
Merge pull request #37 from joneshf/paging-queries

Added paging for SQL results.