Check for last page

The `next` key does not disappear from the last page's response so check if it's `null`.
Merge pull request #2 from ghickman/patch-1

Check for last page