Split #per_page_links helper and moved test to specific test case.
Authored by: jplang 2012-12-17
Parent: [r11030]
Child: [r11032]