paginator pages() generator and reset() helper
Merge pull request #473 from seandst/pages-generator

paginator pages() generator and reset() helper