relevant_pages method added to PaginationHelper
[#8]
PaginationHelper refactoring
[#8]