More work towards row limits

cc #13
Support for lazy query results

Closes #13.