Dev/issue 7472 pageview counter slowness

Added SQL pager class and used it, with Dave' query, to speed up repository description view stats page.