Add support for non-infinite-scrolling pagination

Set the "numPages" value in the results to the total number of pages. Takes precedence over the "more" value.
Add Page Up and Page Down as hotkeys for pagination.

Shift + PgUp/PgDn moves to first/last page.
Removed duplicate call to escapeMarkup
Added formatPagination into the locale template
Merge pull request #2063 from LogicAndTrick/feature/numbered-pagination

Add support for numbered (non-infinite-scrolling) pagination