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
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
Merge branch 'testing' into unstable

Conflicts:
	src/paperwork/backend/docsearch.py

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Add label sklearn estimator
    	dependencies : sklearn, scipy, numpy, skimage
    	The documents with labels are used to train a collection of
    	supervised classifiers.
    	Each label got a classifier (OneVsAll strategy)
    	The prediction are made at index time : non labelled documents
    	are filled with an estimated predict_label_list
    	The whoosh search takes into account the predict_label_list
    	Older documents may not be correctly predicted according to the
    	new document (online learning), so it can be usefull to reindex all
    	TODO: we might want to save the thumbnail in a cache file for each doc
Merge pull request #178 from kigeia/unstable

Add label prediction in seach results