Refactoring: split settings form and config
Refactoring

 * Convert layouts, lessons and rules files to JSON format
 * Remove QtXml dependency
 * Move data loading function to Config class
 * Fix MacOS deploying
 * Update translations
 * Fix MacOS compiller warnings
 * Cosmetic changes