Updated paginator to provide iterator protocol.

Signed-off-by: Kevin Stone <kevinastone@gmail.com>