Fixed #74
It's now using file logger to log the errors.
In addition, it has its own function, get_genattrib_errors, to get the error from the attribtution generation instead of getting ALL the errors/warnings that are not relevant for the attribution generation.
Improved some test cases.