Removing home folder moved to data/home
Removing $is_allowed_in_course already checked in api_protect_course
Minor - preventing PHP warning/notices
Removing use of $GLOBALS['c_id'] use instead api_get_course_id()
Removing courses folder
Moving courses to data/courses see #5871
Removing main/upload/users see #5871
Adding default upload directory data/upload/users
Minor - adding comment, cosmetic changes
Removing unused folders in gitignore