Style first and last page links [57569170]

* .first and .last are style hooks for the links to first and last
entries, not for the first and last items in a list
* Apply the first and last styles to page links when they are the first
or last items in the list