currentPage, totalPages, url, and params settings can now be functions

handy for working with search results that are updated with an ajax call instead of a full screen refresh
go team pageless!