Bugfixes:
 * save modifications to the files
 * error management
security fix: validating a file named foo&halt would cause the system
to...
Bugfix: when there is an error followed by a warning, the returned code was the one for warning
Fixed the tests
Updated the doc and comments