Big refactoring, part 1.
Data model : Tune, Block, Syst.
Written : draft for the dao layer with basic sql queries.
TODO :
- dao layer for other parts of the data model
- repair NwcFileImporter
- repair JsonApi
- js app adaptation