Dev/issue 7472 pageview counter slowness

Added SQL pager class and used it, with Dave' query, to speed up repository description view stats page.
Should probably use QubitPdo::fetchColumn() and QubitPdo::fetchAll() here instead since they're static methods