Logging refactor - Sprint 14 deliverables

Start of the logging system refactor for avocado. Our goal with it is to have a better infrastructure and management of outputs for the avocado application.

Also, this PR implements the --output-check-record option to the test runner, and the basic behavior set of the feature, that remains to be discussed.