course_wiki: Created seperate method to calculate course_wiki_slug
course_wiki: Added tests for staff access