Merge pull request #177 from kigeia/testing

Fix a cache bug on document reexamination
Fix work directory cleanup : never go deeper than one subdirectory

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Merge branch 'testing' of github.com:jflesch/paperwork into testing