API: Added course details for single course for student or instructor
API: Created functions to re-use SQL for course related calls