Courses: duplicate_course() and import_course() created. API in plaintext added.