correcting a bug introduced by myself during logging implementation
various fix, another logging implementation (ahem) and a missing import
Fix a cache bug on document reexamination
Merge pull request #177 from kigeia/testing

Fix a cache bug on document reexamination
Merge branch 'testing' into unstable
Merge branch 'unstable' of github.com:jflesch/paperwork into unstable