More work on lexem models. Partial commit - editModel.php doesn't quite work yet.