Fix issues with repository list pagination.
Pagination had a few bugs: 1. The 'next' button would be improperly disabled in most cases. 2. The 'last page' button would be improperly disabled in most cases. 3. The 'last' repository would not be properly selected when picking the 'next' button. 4. The listing did not properly deal with situations where a repository only has a 'name' (i.e. "myrepo" vs "jonathanhood/myrepo"). The code has been updated to deal with both cases appropriately. 5. The "link" header parsing has been removed in favor of some simpler behavior. The link header is only used to check if this page is the last page and is thrown away. The proper 'last' repository is now calculated based on the returned array instead, which was simpler than parsing it out.