removed ide specific files to git watched files and added security conditions on update course controller

just added some more security in updating a course on CourseController and also remove ide specific files from tracking.