Add lazy-query function for paging large results

This commit adds support for paged queries using the lazy-query
function. Docs are included.

Additionally, I've renamed "connection" to "client" accross the board.