MOBILE-549 Grades plugin: Add declaration of get_grades external function