Check for permissions correctly, excluding unpblished missions.
Merge branch 'lessonbin' of git://github.com/fuzzie360/coursemology.org into dev/raymoond_dev