Move navigation to main nav block
Heed cmid in navigation if not set in $PAGE
Revert "Heed cmid in navigation if not set in $PAGE"

This reverts commit ec56aaaa2328326ae9cb365e074d25615f5de3fd.
Add get_cm and require course module login
Fix variable name in get_cm
Prepare to release 1.3