Correct archive unittests and pep8 conformity in archive class

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Merge pull request #174 from sosreport/patch-fix-unittests

Correct archive unittests and pep8 conformity in archive class