Factor out the code for getting possibly paginated results

By factoring out the code to get results from the API even if they're
paginated, we can make it accessible to other clients.  For example,
even though popit-resolver uses popit-django, it still uses get() on
Slumber resources without taking pagination into account - instead it
can now use get_paginated_generator instead.