API - Basic API calls

I did that in the function. If the course_id doesnt exist, or the member_id doesnt have access to the course, a 404 error is raised.
https://github.com/sdaityari/ATutor/pull/24/files#diff-265054603e66cec60a82c6b37d8b61daR50