Change 'next' and 'prev' links in PaginatorHelper

Make PaginatorHelper generate "proper" next and previous markup (list
elements without links render as regular text)