MDL-37473 completion: Add missing cap checks to tracked users functions
MDL-37473 completion: Add missing cap checks to tracked users functions

Namely get_num_tracked_users and is_tracked_user()

dilawar/moodle