Changed icon for plugin, and modernized fetch context logic
http://docs.moodle.org/dev/Access_API#Context_fetching