JSON data methods for working with Theses
Paratial rework of Thesis and ThesisController, validation, bug fixes