update Lesson model to has published field and add migrations, refs #138