Fix missing `.php` in help tip link
pages: Display correct total number of pages
Merge pull request #986 from greezybacon/issue/959

Fix a couple issues on page management

Reviewed-By: Peter Rotich <peter@osticket.com>