Fix schema, and test (schema) validation of conf files.
Improve gitignore
Merge pull request #890 from FranciscoBorges/schema

Fix schema, and test (schema) validation of conf files.