Updated with Laravel 4 as of 2013-02-05
Insert Previous/Next links on each page

Parse the index to find previous and next page, and insert links for them.