Revert "Temporarily remove courses catalog's random pick to avoid bug with pagination - refs #7273"

This reverts commit 2632e1db4db46417a067d2ed7b8514a0e9e161c2.

Conflicts:
	main/template/default/auth/courses_categories.php