fixed create activity permissions things
Merge branch 'master' of https://github.com/brainysmurf/moodle