Fixing the 'context_system::instance' issue.
Merge branch 'master' of github.com:vaughany/moodle-local_profileswitches