Add validation to manuals

Also adding a cucumber test for validation errors working correctly
Move SpecialistDocumentRepository to app/repositories
Redesigned ManualRepository to use embedded editions

This avoids the problem of grouping Mongoid documents and pretending
it's a relational database
Improve tests and add models for new ManualRepository