Adding support for pagination in popit-api

I think that this solves issue mysociety/popit-django#21.