Extracted logic for finding term by slug, and generating response hash, into separate methods. Updated CanvasProvideCourseSite#create_course_site to return error if no slug found