Implement pagination

Configurable with PYPO_ITEMS_ON_PAGE

Fixes #4