Add logic for viewing all products on one page

Load all products on a single page without pagination if $_GET parameter "all" is set.