Adding pagination

Setting up pagination. Default is just adding the next and prev
pages to a pagination object on the context. The currentPage
index and totalPages is also on the pagination object.