Fix ZeroDivisionError when counting Pagination object pages

When ``per_page`` was set to ``0``, there was ZeroDivisionError
raised in ``Pagination.pages`` property.