Fix edge-case return value in achievements + progress pagination link template functions
Escape text token in dpa_get_progress_pagination_count() i18n.
Add leaderboard pagination template functions.