Fix wrong identifier.
Fix computation of previous milestone in a course, fixes missing lesson plan entries.
Merge branch 'lessonplan' of github.com:fuzzie360/coursemology.org into deployment