improvement+psd progression

ppm or jpeg are now two options fully supported when pdfreader/main.py is imported. jpeg being the default value because convert from ppm/pbm to png doesn't seem to add any value.

the json is now printed on std when pdfreader/pdstools/main.py are used as cmd shell

Signed-off-by: Mickael <mickael@beingenious.com>