Ahaggar: add the log module

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Ahaggar: improve the script output report logic

* Store output in tuples instead of strings to avoid copy concat
  operations.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>