Side menu is now a plugin which gets the courses because it needs them, not because they're an inherent part of the system.
Moved templating for side menu into default navigation template.
MM.navigation object created as a thin wrapper around any plugins that become side menus.
Part of MOBILE-433
Moves settings into its own plugin
MM.panels is no longer responsible for specifying layout - plugins do that themselves
Notification plugin ( 1 panel ) and settings plugin ( 2 panel ) rewritten
Side menu navigation moved into its own plugin
Event based model for specifying side menu has opened/closed
MM.js now has knowledge of the currently displayed plugin.
Fixes comments from pull request
Merge branch 'FIX-MOODLE-433' into release_candidate

Conflicts:
	config.json
	lib/mm.js