Add first integration test to test parsing logs
This required a slight refactor of the script,
so that we don't need to deal with parsing CLI options,
in the test itself. The test uses a xz log-file as an input,
and xz db file to compare the result to.
Signed-off-by: Adam Saleh <asaleh@redhat.com>