[7.0] [ADD] 'document extract from database'

Hi, 

I propose a module developped by Julius Network Solution, I took here http://bazaar.launchpad.net/~julius-network-solutions/julius-openobject-addons/7.0/files.

I did some refactoring (flake8)

STILL WIP. Do not review.